Posted 21 марта, 20241 yr Hello I have a program that is compatible with php8.1, but there is a problem, I tested it on one server, the program works fine, but when I test it on another server, the site comes up with error 500. Please advise on this Thankful But it works well with the php7.4 version, it gives an error for the 8.1 version [21-Mar-2024 09:19:14 Asia/Tehran] PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/user/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 62 [21-Mar-2024 09:23:56 Asia/Tehran] PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/user/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 64 Edited 21 марта, 20241 yr by avangcom
22 марта, 20241 yr 19 минут назад, avangcom сказал: @Desti@AHristich@Exception@Dusty Ну я-то точно здесь не причем... IPS какая версия и на какой версии рнр ? Ваше приложение для какой версии IPS ?
22 марта, 20241 yr Author 35 minutes ago, AHristich said: Ну я-то точно здесь не причем... IPS какая версия и на какой версии рнр ? Ваше приложение для какой версии IPS ? 4.7.0 11 minutes ago, Respected said: As an option, disable changes one by one in theme templates how ??
22 марта, 20241 yr Author 6 minutes ago, Respected said: Are you able to log into the ACP? yes I think it is because of the ips version I need to install version 4.7.2 for testing I will announce the result
22 марта, 20241 yr Author 5 minutes ago, Respected said: In the ACP you can undo changes to theme templates. I reinstalled 4.7.0 again. There is a problem. I think it is due to the low version of ips. I am updating to version 4.7.2 to see if the problem is solved.
22 марта, 20241 yr Author I installed version 4.7.2 and got the error again And I upgraded to version 4.7.14, the problem is fixed So, until now, the problem was due to the IPS version Is there a way to fix this error for version 4.7.0??
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.