• Resolved M.F. Jong

    (@mfjtf)


    When we add the recommended code in <body> section

    
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    

    the website shows a white screen. The server error log then throws this line.

    
    Got error 'PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /***/public_html/wp-includes/script-loader.php:2785) in /***/public_html/wp-content/plugins/tag-manager-header-body-foo',
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author yydevelopment

    (@yydevelopment)

    Hey Marcel thanks for your detailed date.

    I think that error is coming from one of your other plugins or the theme itself loading data for some reason before my plugin while the shouldn’t.

    I have tried to recreate your error but wasn’t able to so i have tried to make a small change on the plugin hoping it will fix it for you.

    I have released version 1.1.6 please try the update the plugin and let me know if that fix the problem or not.

    THanks

    Thread Starter M.F. Jong

    (@mfjtf)

    I have tried the 1.1.6 version and still a white screen (but this time no error in server log)

    Plugin Author yydevelopment

    (@yydevelopment)

    Sorry to hear that but unfortunately unless i know what the error is i don’t think i can fix it.

    When you deactivate the plugin does the website start working again?

    You can try and make sure your wordpress, theme and other plugins are updated. And you can try and deactivate the other plugins and see if the problem comes when one of the plugins and mine are working together.

    If you are using some kind of cache plugin try and refresh the cache as well as that might fix the problem.

    • This reply was modified 4 years, 9 months ago by yydevelopment.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘White screen of death’ is closed to new replies.