Jump to content

Question


mricklefs

Recommended Posts

Those are not errors, they are warnings.  A warning *could be a problem* but it might not be.  As it's unlikely you are going to patch a 3rd party script that you don't understand the simplest answer for you is to turn down the error setting so that the server does not display warnings, and furthermore, on a production server you should not be displaying errors to the end users, as this can leak important internal information to attackers.

 

In the case of your warnings, most if not all of them appear to be related to uninitialized variables.  Since this appears to be related to a shopping cart, it's not surprising that you would have uninitialized variables because nothing is in the user's cart yet. 

 

This is a nice blog entry that covers the topic:

 

http://wheel.troxo.com/2007/06/21/php-error-reporting-on-production-and-development-servers/

 

They are doing the settings in .htaccess but you could do them in the php.ini directly assuming this is a server you control and admin.

Link to comment
https://forums.phpfreaks.com/topic/144949-question/#findComment-760646
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.