Web Server Upgraded to PHP 5.5 - now...

User 1953598 Photo


Registered User
12 posts

I've had a file upload form on Lunarpages for 3 years now working great. Now they upgrade to PHP 5.5 and I'm getting this error message:
Warning: [ err 2/line 226/datasavemysql.cls.php] Invalid argument supplied for foreach()
Failed to execute query associated to this form.

The form is still working, ie uploading files, writing to the database and sending emails, just a scary warning message.
http://www.enchantedlens.org/phpinfo.php
User 1953598 Photo


Registered User
12 posts

Never mind. I thought I was using the latest version of form builder, but I double-checked and sure enough it was 2.4. So I installed the current version, reloaded and re-saved the form and the PHP error message is gone! :D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.