• Resolved teodormitkov1

    (@teodormitkov1)


    Hello,

    I am currently having a bug with the plugin it doesn’t let me log in and it and keep getting this error -> link -> https://imgur.com/a/3FR37br . With the plugin disabled it works normally error doesn’t appear. I have tried: Updating WordPress to the latest version, plugin updated to the latest version, checking the functions.php file for any errors or empty spaces, adding define(‘COOKIE_DOMAIN’, true/false adding the domain) nothing seems to help.

    I have contacted the hosting company and they have responded that the error comes from the Plugin. And they have sent me this error log -> https://imgur.com/a/edaAEoG

    Please let me know how can i solve this becouse its a huge issue for the client.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    That is strange: could you tell me what placement option you have selected in plugin options?

    The error message that your hosting company had outlined is around the code line where the noscript part of the container code is outputted. Normally this should not execute on and wp-admin page as it is only included in frontend actions.

    Thread Starter teodormitkov1

    (@teodormitkov1)

    Hello,

    Thank you for the swift reply, the placement option is Custom and we added this <?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?> in the theme functions.php

    Looking forward to resolving this issue,

    Thanks

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Ok, in that case we have the cause 🙂
    This line should be added to the header.php, just after the opening body tag.

    Thread Starter teodormitkov1

    (@teodormitkov1)

    Issue Resolved!

    Thank you very much.

    Have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug interference with Wp-admin login’ is closed to new replies.