Debug mode : not useful “Notices”
-
[ Moderator note: moved to How-to and Troubleshooting. ]
Hi,
When you choose the “debug mode” you can get things as that :
Notice: WP_Query est appelé avec un argument qui est déprécié depuis la version 3.1.0 ! « caller_get_posts » n’est plus recommandé. Utilisez « ignore_sticky_posts » à la place. in …/wp-includes/functions.php on line 3891
Notice: WP_Query est appelé avec un argument qui est déprécié depuis la version 3.1.0 ! « caller_get_posts » n’est plus recommandé. Utilisez « ignore_sticky_posts » à la place. in …/wp-includes/functions.php on line 3891
This is truly not at all useful to tell you that “somewhere” into several million of lines of code there is a deprecated call…
I had hacked this into a previous version and imagine reported it.
I had just added to references of the error, which more useful.Thanks to implement such enhancement into the next version.
Because I cannot avoid to use debug mode to get good code, I need to hack again the core or seek old versions of core to find my hack.
When done I will report here.Best regards
Trebly
- The topic ‘Debug mode : not useful “Notices”’ is closed to new replies.