• Resolved markussss

    (@markussss)


    Hi,

    I don’t know how this makes sense, but when I add the following line to wp-config to set the environment variable, it’ll throw an error from your plugin on the dashboard.

    define( ‘WP_ENVIRONMENT_TYPE’, ‘development’ );

    Explanation about WP_ENVIRONMENT_TYPE

    New wp_get_environment_type() function in WordPress 5.5

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/abc/dev.abc.com/wp-content/plugins/white-label/functions/dashboard.php:59) in /usr/www/users/abc/dev.abc.com/wp-admin/admin-header.php on line 9

    This message is shown directly below the WordPress admin bar.

    Here is the line the error is referring to
    https://app.screencast.com/5JBK521fxtqVS

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Link Software LLC

    (@linksoftware)

    @markussss Weird. I’ll check it out and if it’s something I can fix I’ll add it to November’s release.

    Plugin Author Link Software LLC

    (@linksoftware)

    @markussss I was never able to recreate this. Did you come up with anything? We can take this to email if you would prefer: support {at} linksoftwarellc.com

    Thread Starter markussss

    (@markussss)

    Hi,

    I didn’t forget about it but can’t check now .. I’ll snooze the email and get back to it. Perhaps I should test it on 2 or 3 different hosting/server to see if this makes a difference.

    I could clearly reproduce it, but only tested on one hosting as far as I remember

    Thread Starter markussss

    (@markussss)

    Sorry, I didn’t have enough time to troubleshoot this yet. I also don’t use this on all sites

    define( ‘WP_ENVIRONMENT_TYPE’, ‘development’ );

    Please consider it closed if you cannot reproduce it. If I find time again and it gets a priority I’ll search for this conversation again

    best regards

    Markus

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot modify header information – headers already sent by dashboard.php’ is closed to new replies.