Nicoolas Posted March 31, 2022 Share Posted March 31, 2022 Hello Team, I had to move my forum and website from an old server to a new server, this new server has php8.0. When I try to reach the admin pages, just after login, the following error appears : Fatal error: Cannot use "parent" when current class scope has no parent in /var/www/xxxxxxxxxxx/public/system/Theme/Theme.php(2632) : eval()'d code on line 27 I tested with php8.1 and now back to php8.0 Thanks for your help. Best regards, Nicoolas Note : I used the ips4 and all extensions are installed, but the problem remains. Link to comment Share on other sites More sharing options...
Solution Adriano Faria Posted March 31, 2022 Solution Share Posted March 31, 2022 Use the RECOVERY MODE to access the Admin CP and disable 3rd-party resources. One of them is outdated. Link to comment Share on other sites More sharing options...
Nicoolas Posted March 31, 2022 Author Share Posted March 31, 2022 Thanks @Adriano Faria, I was able to regain access to my Admin CP, now, it's time to check what cause this issue. Link to comment Share on other sites More sharing options...
Marc Posted March 31, 2022 Share Posted March 31, 2022 Note, you also cannot use PHP 8.1 at present, as we have not yet updated for that version. 8.0 would be the highest Link to comment Share on other sites More sharing options...
Nicoolas Posted April 20, 2022 Author Share Posted April 20, 2022 Thanks for your input @Marc Stridgen, I revert back to php 8.0 and applied the following action : Link to comment Share on other sites More sharing options...
Jim M Posted April 20, 2022 Share Posted April 20, 2022 Glad to hear that resolved your issue. Please let us know if we can be of assistance in the future. Link to comment Share on other sites More sharing options...
Recommended Posts