Title: PHP Error
Last modified: September 1, 2016

---

# PHP Error

 *  Resolved [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-190/)
 * Hi,
 * In my apache log file I keep getting php messages, although everything seems 
   to be working. How can I stop these messages to fill my apache error log?
    Thank
   you
 * [Wed Jun 08 23:20:41.524149 2016] [proxy_fcgi:error] [pid 18018] [client xxx:
   54211] AH01071: Got error ‘PHP message: CF7 POLYLANG: found local locales, Array\
   n(\n [0] => en_GB\n [1] => nl_NL\n)\n\nPHP message: CF7 POLYLANG: found polylang
   locales, Array\n(\n [0] => nl_NL\n [1] => en_GB\n)\n\n’, referer: [https://xxxx/wp-admin/post.php?post=1516&action=edit](https://xxxx/wp-admin/post.php?post=1516&action=edit)
 * [https://wordpress.org/plugins/cf7-polylang/](https://wordpress.org/plugins/cf7-polylang/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459133)
 * this is not an error, it is a logging message about what the plugin found. If
   you run your WP installation in debug mode with logging enabled it will log this
   kind of msg.
 *  Thread Starter [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459185)
 * I understand this is not an error, but I have debugging disabled in wp-config.
   php:
    define(‘WP_DEBUG’, false); Yet, still these messages appear?
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459187)
 * debug is off and you log file is on?
 * I will check this for the next release which I am currently working on. Thanks
   for raising this.
 *  Thread Starter [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459189)
 * both are off
    Yet, still the messages appear in the errorlog of apache. No debug.
   log is created in the wp-content directory (which is ok)
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459350)
 * fixed in the latest version 1.1.1
 *  Thread Starter [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459351)
 * Thank you!
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459355)
 * is it working now?
 *  Thread Starter [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459356)
 * I don’t have the messages in apache’s log anymore.
    I had commented out the two
   lines in your php that seems to cause them. I have updated your plugin yesterday,
   still don’t have the messages, but don’t know if my own changes have been overwritten
   by the update.
 * This is from today:
 * # grep -R ‘found local locales’ *
    admin/class-cf7-polylang-admin.php: //debug_msg(“
   CF7 POLYLANG: found local locales, “.print_r($local_locales,true));
 * # ls -la class-cf7-polylang-admin.php
    -rw-r–r– 1 user group 13154 Jun 21 22:
   45 class-cf7-polylang-admin.php
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459357)
 * you shouldn’t need to comment out any lines, the logging now only happens in 
   debug mode.
 *  Thread Starter [mdlaat](https://wordpress.org/support/users/mdlaat/)
 * (@mdlaat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459366)
 * Thanks!
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459370)
 * sure, please rate the plugin when you have some time

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf7-polylang.svg)
 * [Contact Form 7 Polylang Module](https://wordpress.org/plugins/cf7-polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-polylang/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/php-error-190/#post-7459370)
 * Status: resolved