Strict reporting
Posted by: kbsilva (---.ed.bigpipeinc.com)
Date: August 25, 2014 05:47PM

We are now getting Wordpress errors like "Strict standards: Redefining already defined constructor for class ...". We did modify PHP files to change error_reporting to = E_ALL & ~E_NOTICE & ~E_STRICT then restart the service. Still get error. The php.ini files we modified were:

- C:\wamp\bin\php\php5.5.12\php.ini
- C:\wamp\bin\bin\apache\apache2.4.9\bin\php.ini

The php_error.log file indicates errors such as:
[25-Aug-2014 15:22:05 UTC] PHP Strict standards: Redefining already defined constructor for class CF7reCAPTCHA in C:\wamp\www\wordpress-trunk\wp-content\plugins\contact-form-7-recaptcha-extension\includes\CF7reCAPTCHA.class.php on line 54

Options: ReplyQuote
Re: Strict reporting
Posted by: Otomatic (Moderator)
Date: August 25, 2014 06:24PM

Hi,

The correct php.ini file is wampmanager->PHP->php.ini

May be Wordpress redefine this.

Note: If Wordpress gives errors or warnings, this is a Wordpress problem, not a Wampserver problem.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.