We are looking to update our WSIBold site theme so that it is compatible with PHP 8.0. Currently it is incompatible with 8.0 and uses 7.4. When we switch the site to 8.0 it causes this critical error 5 times in php logs: PHP Fatal error: Uncaught Error: Undefined constant “php” . Heres the part of the file path that indicates to me its the theme: /wp-content/themes/boldgrid-wsigenesis/templates/header.
Is this going to be an incompatible update or can we edit a few things to make it work?
We inspected your site and noticed that you’re using what appears to be a child theme of the BoldGrid Legacy theme Hydra.
I’m pretty sure you can bring it to compatibility but you would need to access your theme code directly to resolve it. You would need to locate the PHP Fatal error and resolve the Undefined constant which should be somewhere in your /templates/header file.
It would help if you’re still in contact with the developer of the child-theme. You may be able to recreate it using a more up to date Post and Page Builder compatible theme such as Crio Pro WordPress theme.
I know this isn’t much but I hope it helps in some way Issac. Please let us know if you have any other questions for us.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘How can I make my WSIBold theme compatible with PHP 8.0’ is closed to new replies.