Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1134550

    Hi!

    After upgrade the 29th August Enfold version, we changed the PHP version to 7.3 (from 5.2) and now our website http://www.xprinta.com shows this error message:

    Warning: Use of undefined constant ‘gtm4wp_the_gtm_tag’ – assumed ‘‘gtm4wp_the_gtm_tag’’ (this will throw an Error in a future version of PHP) in /home/sergioc7/public_html/xprinta/wp-content/themes/enfold-child/header.php on line 115

    We downgraded to PHP 7.2, 7.1 and 7.0.33 but the error is still there!

    You can look at it here:
    Image 2019-09-05 at 5.33.39 PM.png

    Can you help, please?

    Thanks!!

    • This topic was modified 5 years, 3 months ago by xprinta.
    #1135194

    Hey Sergio,

    So what is on line 115 in header.php in your child theme? You could try to copy over the header.php file from the parent theme to your child and then add any overrides to it again after that.

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.