News:

Looking for documentation? Take a look on our wiki

Main Menu

Warning: Invalid argument supplied for foreach()

Started by fbc, October 18, 2012, 04:45:43 AM

Previous topic - Next topic

fbc

This is a migrated site: Well, not really. Its a fresh install however I CSVI'd  my products and categories into the fresh install.
Everything seemed to work fine until I upgrade to the latest Virtuemart. (2.0.12b) The when I logged in I received these errors.

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/database/mysql.php on line 383

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/table.php on line 406

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/database/mysql.php on line 383

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/table.php on line 406

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/database/mysql.php on line 383

Warning: Invalid argument supplied for foreach() in /home/www/xxxxx/libraries/joomla/database/table.php on line 406
Frank

bytelord

Hello,

Whats your joomla version you installed with vm2.0.12b? It is joomla 2.5.7? PHP version? If it's PHP 5.3.x then you should disable error messages notification not to shown (E_STRICT), are turned on by default. You could go to your Joomla Global Configuration->Server->Server Settings->Error Reporting

You could try to change that messages to "simple" or "none".

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

fbc

Yes, I have your test environment as my production.
Frank

bytelord

Hello,

These are warning, did you try to disable e_strict? Does it appear now?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

fbc

#4
Quote from: bytelord on October 18, 2012, 17:12:07 PM
Hello,

These are warning, did you try to disable e_strict? Does it appear now?
No they don't appear for the moment, however I have not tried logging in which is how I first noticed them.
Frank

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!