• Resolved Tunn

    (@iuriem)


    Notice: Undefined index: xmlsf_priority in /.../wp-content/plugins/xml-sitemap-feed/controllers/admin/main.php on line 321
    
    Warning: Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/xml-sitemap-feed/controllers/admin/main.php:321) in /.../wp-admin/post.php on line 222
    
    Warning: Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/xml-sitemap-feed/controllers/admin/main.php:321) in /.../wp-includes/pluggable.php on line 1251
    
    Warning: Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/xml-sitemap-feed/controllers/admin/main.php:321) in /.../wp-includes/pluggable.php on line 1254

    Wordpress 5.1
    define(‘WP_DEBUG’, true);
    Sela theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, thanks for letting me know. I suspect the three “headers already sent” errors are caused by the first notice being printed publicly, causing headers to be sent earlier than they should.

    The notice will be addressed in the next version.

    In the mean time I’d advise to either set define(‘WP_DEBUG’, false); as soon as you are not debugging anymore or add the line define( 'WP_DEBUG_DISPLAY', false ); to prevent public output of PHP messages.

    Thread Starter Tunn

    (@iuriem)

    Thank you for the define( 'WP_DEBUG_DISPLAY', false );, I didn’t know about it. By the way, you made a great plugin. I’m waiting for the next version.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Too many warnings’ is closed to new replies.