Should be a great tool, but…
Notice: Undefined index: debog in /wp-content/plugins/debogger/debog.php on line 64
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied as input in /wp-content/plugins/debogger/debog.php on line 242
Thanks Bruce, it was very late last night..now to fix it 😉
0.5 should fix this 😉
VERY cool tool, by the way!
Bruce have you tested the update?
Just tried it – don’t have a broken theme, but am working with a plugin with lots of issues. Don’t know exactly what all debogger is supposed to catch (do plugins get hooked before themes?), but I got this output at the top: Notice: Constant FORUM already defined in /Users/bw/Sites/bew.blogsite.org/wp-content/plugins/mingle-forum/wpf_define.php on line 36
Notice: get_bloginfo was called with an argument that is deprecated since version 2.2! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead. in /Users/bw/Sites/bew.blogsite.org/wp-includes/functions.php on line 3321
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /Users/bw/Sites/bew.blogsite.org/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /Users/bw/Sites/bew.blogsite.org/wp-includes/functions.php on line 3237
Then some more in the debogger box: => update_usermeta is deprecated since version 3.0! Use update_user_meta() instead.
and finally the totally filled in review.
So I don’t know if that proves anything – would be neat to have it work for plugins as well as themes. It looks like one of my plugins is generating debug stuff before debogger grabs it. If I remember things, you can give priorities to hooks? Can you make debogger run before other plugins?
And when activated, does it switch on WP_DEBUG? It would be neat to be able to turn it on and off. And once debogger grabs the error output, does it stop it from intermixing with the regular screen?
Sorry for so many questions. Can carry on by private e-mail if you have any more questions or things I could test for you.
Shame but I could find no way to enable/disable wp_debug the 3 options available are: 1: Intercept the PHP error function and store them in a variable allowing the page to render as the author intended (default). 2: Do nothing, PHP handles the errors. 3: Suppress all errors. The plugin gets called during ‘init’ and captures all theme errors and most plugin errors too. I’m not sure if it can be loaded any earlier?
[…] Debogger […]
thanks very cool plugin.
We will inform you that one small problem to make it to more wonderful was found.
debog.php line 25
... ' Seconds.'; div elements can not use inner address elements
I’m change this echo '';
sorry echo '<div style="text-align:center;">';
echo '<div style="text-align:center;">';
echo '<span style="text-align:center;display:block;">';
First, I speak a really bad english. I have a problem with the activity and I just put the plugin “Debogger”. I don’t understand because I look at for everywhere and I don’t find how I cann’t activate this plugin. How must I do? Thanks
This site uses Akismet to reduce spam. Learn how your comment data is processed.