[Resolved] Error notices display suppressed and not shown in the Debug Bar panel
Users reported they were getting the following PHP notice with my WP Migrate DB plugin.
Notice: get_bloginfo was called with an argument that is <strong>deprecated</strong> since version 2.2! The <code>siteurl</code> option is deprecated for the family of <code>bloginfo()</code> functions. Use the <code>url</code> option instead.
I’ve been developing with WP_DEBUG and Debug Bar for quite a while now, so I was surprised I hadn’t seen this. When I disabled Debug Bar, I could see the notices. It seems that Debug Bar is suppressing these notices from displaying but not showing them in its panel either.
To recreate, you should be able to just make a call to
get_bloginfo( 'siteurl' ).
Let me know if you need more details to recreate this issue.
- The topic ‘[Resolved] Error notices display suppressed and not shown in the Debug Bar panel’ is closed to new replies.