PHP noticed when WP_DEBUG is enabled
-
Hi,
First of all, thanks for sharing this great plugin! I find it very useful.
I’m using the latest version of WooSidebars (1.2.0). While developing a site, I have enabled
WP_DEBUG
— and this notice pops up.NOTICE: C:\wamp\www\wordpress\wp-includes\post.php:1061 - Array to string conversion
Since I’m also logging all PHP errors and notices, here is the stack trace
[16-Dec-2012 10:46:07 UTC] PHP Notice: Array to string conversion in C:\wamp\www\wordpress\wp-includes\post.php on line 1061 [16-Dec-2012 10:46:07 UTC] PHP Stack trace: [16-Dec-2012 10:46:07 UTC] PHP 1. {main}() C:\wamp\www\wordpress\wp-admin\plugins.php:0 [16-Dec-2012 10:46:07 UTC] PHP 2. require_once() C:\wamp\www\wordpress\wp-admin\plugins.php:10 [16-Dec-2012 10:46:07 UTC] PHP 3. require_once() C:\wamp\www\wordpress\wp-admin\admin.php:30 [16-Dec-2012 10:46:07 UTC] PHP 4. require_once() C:\wamp\www\wordpress\wp-load.php:29 [16-Dec-2012 10:46:07 UTC] PHP 5. require_once() C:\wamp\www\wordpress\wp-config.php:108 [16-Dec-2012 10:46:07 UTC] PHP 6. do_action() C:\wamp\www\wordpress\wp-settings.php:302 [16-Dec-2012 10:46:07 UTC] PHP 7. call_user_func_array() C:\wamp\www\wordpress\wp-includes\plugin.php:403 [16-Dec-2012 10:46:07 UTC] PHP 8. Woo_Sidebars->register_post_type() C:\wamp\www\wordpress\wp-includes\plugin.php:403 [16-Dec-2012 10:46:07 UTC] PHP 9. register_post_type() C:\wamp\www\wordpress\content\plugins\woosidebars\classes\class-woo-sidebars.php:189
Thanks! Looking forward to hearing from you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP noticed when WP_DEBUG is enabled’ is closed to new replies.