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