• I haven’t done any changes with my functions.php file for this site, but I suddenly noticed today that there was a “Warning: Use of undefined constant ‘template_redirect’ – assumed ‘‘template_redirect’’ (this will throw an Error in a future version of PHP) in /home/cherkaye/www.thegreek301.com/wp-content/themes/spacious-child/functions.php on line 26”. The theme is up to date, and this line is in both my child theme and in the parent theme. Can anybody please advise on what can be done to fix this? Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cher443

    (@cher443)

    After speaking to support staff with my server, it looks like this theme is not compatible with the newer PHP versions. Please fix this.

    Hi @cher443,

    Thanks for reaching us,

    I suspect one of the plugins you’re using might be causing the problem, so please try deactivating all the plugins one by one and check if the problem resolves.

    Let me know if this helps you or not and I will be back.

    Regards,
    ThemeGrill Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sudden Word Press Error on my Site’ is closed to new replies.