term2323 Posted December 17, 2022 Posted December 17, 2022 I've attempted to upgrade to the latest version, now the site won't load. This is the error I see in the apache error log: [17-Dec-2022 17:00:00 UTC] PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/username/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 41 Not sure what to do next.
Solution Jim M Posted December 17, 2022 Solution Posted December 17, 2022 Your theme or third party applications/plugins are not compatible with PHP 8, you will want to disable these while you investigate which one it is.
term2323 Posted December 17, 2022 Author Posted December 17, 2022 Thanks for the quick reply. I renamed the plugins folder, and was at least able to recover and get running again.
term2323 Posted December 17, 2022 Author Posted December 17, 2022 I am able to use the admincp, but the front end still tells users there is a upgrade in progress. What is the best way to cancel the upgrade so the front end continues to work while I work out the plugin issues?
teraßyte Posted December 17, 2022 Posted December 17, 2022 There's no way to cancel an upgrade. You'd need to restore the backup made right before upgrading (as long as you took one).
term2323 Posted December 17, 2022 Author Posted December 17, 2022 I was able to disable the offending application and complete the upgrade, so I think I should be able to take it from here.
teraßyte Posted December 17, 2022 Posted December 17, 2022 Was it a public application available in the marketplace or a custom one? If it's a public one it might help others if you post the name. 🙂
Recommended Posts