Jump to content

Featured Replies

Posted

I updated community from 4.6.12.1 version with php 7.4 to 4.7.7 with php 8.0

After update I have 500 error:

Quote

We're sorry, but a temporary technical error has occurred which means we cannot display this site right now.

You can try again by clicking the button below, or try again later.

In nginx logs I see:

2023/02/25 18:22:43 [error] 209149#209149: *336 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot use "parent" when current class scope has no parent in /var/www/site/system/Theme/Theme.php(2703) : eval()'d code on line 37" while reading response header from upstream, client: 18.17.83.224, server: site, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "site"

What happened?

Solved by Aleksandr Timashov

Go to solution

Disable all your 3rd-party apps/plugins. At least one of them isn’t compatible with PHP 8. Enable one by one and go testing until you find the culprit and see if it has a new version to update.

  • Author
Just now, Adriano Faria said:

our 3rd-party apps/plugins. At least one of them isn’t compatible with PHP 8. Ena

How I can do it? I haven`t access to adminCP with same error.

 

Take a look at RECOVERY MODE on:

 

  • Author
  • Solution

I tried to enable recovery mode, but I can`t change anything in AdminCP.

 

I log out and login to adminCP and I have access in normal mode. Thanks.

Edited by Aleksandr Timashov

The error says it all:

1S107/3 Before you are able to use the Admin Control Panel, you must edit 'constants.php' and remove the following line:
define( 'RECOVERY_MODE', TRUE );

Glad to hear you have things sorted out 🙂 .

Recently Browsing 0

  • No registered users viewing this page.