WordPress.org

Ready to get started?Download WordPress

Forums

Query debug info
Silent plugin (2 posts)

  1. mebrand
    Member
    Posted 3 years ago #

    Sorry, but it's don't work. Even with define('WP_DEBUG', true); - no errors, no warning... nothing. Can I be helpfull and give you more info?

  2. Sarah Anderson
    Member
    Posted 2 years ago #

    I've just tried this plugin and the problem is the main function is being run with the wp_enqueue_style which means trying to output tables in the stylesheet section (and I'm guessing WP checks for what's getting output and stops anything irrelevant).

    If you change the last but one line from wp_enqueue_style('debuginfo'); to add_action('wp_footer', 'debuginfo'); you should find that it'll output into the footer of your page, providing you have the wp_footer(); hook there.

    Hopefully the plugin author will update it as it's just proved useful to me for debugging a custom post type search.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic