Classic Theme throwing multi-PHP undefined constant warnings
-
My hosting account got swamped by a 1GB+ xxxx.php.error.log file – too large to read; so started a new one. The new one is full of (only) the following two error messages:
[17-Mar-2020 13:15:22 UTC] PHP Warning: Use of undefined constant ‘template_redirect’ – assumed ‘‘template_redirect’’ (this will throw an Error in a future version of PHP) in /home/account/public_html/genealogy/wp-content/themes/classic/functions.php on line 14
[17-Mar-2020 13:15:22 UTC] PHP Warning: Use of undefined constant ‘bwp_template_redirect’ – assumed ‘‘bwp_template_redirect’’ (this will throw an Error in a future version of PHP) in /home/account/public_html/genealogy/wp-content/themes/classic/functions.php on line 14My hosting company tell me this is a theme issue and I should look for help there – which is where I hope I now am.
My WordPress is up-to-date at version 5.3.2–en_GB
The Classic theme is up-to-date
PHP is at version 7.3Any ideas? Can I hack the theme?
Thanks
- The topic ‘Classic Theme throwing multi-PHP undefined constant warnings’ is closed to new replies.