• Resolved Adrià Forcada

    (@aforcada)


    Why Yoast is displaying this after </html> tag? I want to hide it, it’s very intrusive.

    <!–

    Request time
    ====
    0,400s

    Memory usage
    ====
    Peak: 47.75MB
    Average: 47.62MB

    Yoast Idiorm Queries (1)
    ====
    1: “SELECT * FROM wp_yoast_indexable WHERE object_id = ‘273’ AND object_type = ‘post’ LIMIT 1″ in 0.0004

    WPDB Queries
    ====
    Please add this to your wp-config.php to allow WPDB Query logging:
    define( ‘SAVEQUERIES’, true );

    –>

Viewing 5 replies - 1 through 5 (of 5 total)
  • @aforcada these are shown if you have Yoast debug enabled. To disable these comments you can disable the Yoast debug mode. Setting these to false or removing them:

    define( ‘WPSEO_DEBUG’, true );
    define( ‘YOAST_SEO_DEBUG’, true );

    Thread Starter Adrià Forcada

    (@aforcada)

    Thanks @djennez ! I didn’t enabled or set this parameters in my wp-config, but now I added and set both to false and it’s removed. Maybe due to last update?

    Hmmm, these should not be enabled by default (and they are not on an empty installation). So maybe it’s another plugin or custom code from the past that enables this? Now that you’ve set them to false, aren’t there any PHP warnings about defining variables that are already set?

    I have the same issue.

    ??Clean WordPress install.
    ? 1 plugin, Yoast SEO Versie: 14.0
    ??My own custom/clean theme.

    Putting the following in wp-config.php fixed it for me.

    define( ‘WPSEO_DEBUG’, false );
    define( ‘YOAST_SEO_DEBUG’, false );

    Thread Starter Adrià Forcada

    (@aforcada)

    @djennez After modifying wp-config everything it’s ok, but it’s strange because I have a clean wordpress and the debug appeared automatically. For this reason I asked if it was due to the last update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why Yoast is displaying a query?’ is closed to new replies.