Nicoolas Posted March 31, 2022 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.
Solution Adriano Faria Posted March 31, 2022 Solution Posted March 31, 2022 Use the RECOVERY MODE to access the Admin CP and disable 3rd-party resources. One of them is outdated.
Nicoolas Posted March 31, 2022 Author 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.
Marc Posted March 31, 2022 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
Nicoolas Posted April 20, 2022 Author Posted April 20, 2022 Thanks for your input @Marc Stridgen, I revert back to php 8.0 and applied the following action :
Jim M Posted April 20, 2022 Posted April 20, 2022 Glad to hear that resolved your issue. Please let us know if we can be of assistance in the future.
Recommended Posts