Warning: Invalid argument supplied for foreach

GK User
Wed Jul 25, 2012 5:23 pm
.../www/templates/gk_esport/html/com_virtuemart/productdetails/default.php on line 299

I have this problem. This warning is displying in product cart. I don know what is this.

Can you help me to solve this problem? I worked on my website on localhost. When I moved my site to OVH server this problem sudenlly appear.

Thanks for help
User avatar
Expert Boarder

Konrad M
Wed Jul 25, 2012 5:27 pm
Hi,
please check in your php.ini if 'display_errors' option is set as OFF. If no please set it as OFF. If you don't have access to this please ask your hosting company to do it.
User avatar

GK User
Wed Jul 25, 2012 5:37 pm
Konrad M wrote:Hi,
please check in your php.ini if 'display_errors' option is set as OFF. If no please set it as OFF. If you don't have access to this please ask your hosting company to do it.


Where I can find this file php.ini?
User avatar
Expert Boarder

Konrad M
Wed Jul 25, 2012 5:49 pm
User avatar

GK User
Wed Jul 25, 2012 6:21 pm



Ok, thanks, I made a file phpinfo.php and transfered it to my server, then I used this script and I get an answer. My display_errors are on. But I still dont know how te get into this file and edit display_errors.

But I have a doubt about it, because this command will change displying errors but the problem still will be there. I should solve it, not switch off. Can you explane me this error? What is wrong, why I see this in my product cart and is this a real problem wich can make smothing wrong with my shop?

Thanks
User avatar
Expert Boarder

Konrad M
Thu Jul 26, 2012 12:51 pm
User avatar

GK User
Fri Jul 27, 2012 10:47 am
Konrad M wrote:Please read this explanation http://www.spiralscripts.co.uk/FAQ/warn ... reach.html



Ok, thanks for help.

regards
User avatar
Expert Boarder


cron