Jump to content

Error without description


Recommended Posts

Hi. 

I'm trying to install prestashop on new machine, when i set my connection to DB i have this problem. 

Anyone had same problem? could you help me i'm losing my mind.

Quote

2020/11/29 18:32:30 [error] 2099#2099: *266 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class PrestaShop\PrestaShop\Adapter\Entity\Attribute may not inherit from final class (Attribute) in /home/michele/public_html/shopcaldarelli.tk/www/var/cache/prod/namespaced_class_stub.php on line 0" while reading response header from upstream, client: 2.44.152.150, server: shopcaldarelli.tk, request: "POST /install/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "shopcaldarelli.tk", referrer: "http://shopcaldarelli.tk/install/index.php"

This is the LOG error

photo_2020-11-29_18-13-33.jpg

photo_2020-11-29_18-38-46.jpg

Link to comment
Share on other sites

22 hours ago, JBW said:

Whats your PHP version? Please note that Prestashop 1.7.6 is only compatible until PHP 7.2

Resolved, was PHP8... 
now i have another problem on PHP7.4

i can enter inside the admin portal:

image.png.a3871ecf92261e9c888b8b816a362989.png

this is the directory, is right?

 

but when i change folder like MODULES OR CATALOG i got 404 ERROR
image.thumb.png.516e7f27795083318d1265109a26aa00.png

Can anyone help me!
 

Link to comment
Share on other sites

  • 10 months later...

Hi, I'm getting this error with php 7.4.25 and the 1.7.8.x branch. (alpine)

Quote

Fatal error: Class PrestaShop\PrestaShop\Adapter\Entity\Attribute may not inherit from final class (Attribute) in /srv/http/PrestaShop/var/cache/dev/namespaced_class_stub.php on line 22

update: downgraded to alpine 3.9 for php 7.2 (7.2.33) and I'm still getting the same error when trying to do the installation

Edited by Alejandro Mery (see edit history)
Link to comment
Share on other sites

  • 5 months later...
On 10/30/2021 at 8:02 AM, Alejandro Mery said:

Hi, I'm getting this error with php 7.4.25 and the 1.7.8.x branch. (alpine)

update: downgraded to alpine 3.9 for php 7.2 (7.2.33) and I'm still getting the same error when trying to do the installation

were you able to fix this error?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...