Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-05T21:31:36-05:00 http://www.primothemes.com/forums/feed.php?f=36&t=2692 2011-06-05T21:31:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2692&p=20125#p20125 <![CDATA[Re: Error notices on WordPress Debug Mode]]> Statistics: Posted by Jason Caldwell — June 5th, 2011, 9:31 pm


]]>
2011-03-14T23:31:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2692&p=7839#p7839 <![CDATA[Re: ERROR NOTICES ON WORDPRESS DEBUG MODE]]> Thanks for the excellent question.
Yes, these will be dealt with in a future release. We understand that some site owners prefer to see no notices when in debugging mode and we are planning to address the undefined indexes in various places in a future release of s2Member Pro. Thanks for your patience.

For the benefit of other readers. Please understand that PHP Notices are NOT errors. These are intended for developers only. Notices are a part of the PHP error reporting mechanism designed to assist developers in code optimization.

If you are seeing Notices, you are probably using WP_DEBUG, or you may need to adjust the settings in your /php.ini file to a production state.

Reference article:
http://php.net/manual/en/function.error-reporting.php

Code:
// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);

Statistics: Posted by Jason Caldwell — March 14th, 2011, 11:31 pm


]]>
2011-03-13T02:37:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2692&p=7838#p7838 <![CDATA[Error notices on WordPress Debug Mode]]> i have wordpress debug mode enabled ( in wp-config.php added code : define('WP_DEBUG', true); ) and testing a few plugins and found that s2 member plugin shows many error notices. example below.
Code:
Notice: Undefined index: pro_paypal_api_username in /home/user/public_html/wplab/wp-content/plugins/s2member/includes/syscon.inc.php on line 243

Notice: Undefined index: pro_paypal_api_password in /home/user/public_html/wplab/wp-content/plugins/s2member/includes/syscon.inc.php on line 246


This kind of error notices occur when we use variables with out checking if they exist or not.
Will these notices be taken care , from next version?

Statistics: Posted by geekz — March 13th, 2011, 2:37 am


]]>