Jump to content

[SOLVED] Update PS 1.7 with PHP 8 - fatall error


Kriter.io

Recommended Posts

Hello Fellows,

 

I updated my php version to 8 using my store that runs php 1.7.8.

 

After i updated it i got the following message that block me to get into mybackend, even if i use debug mode.

 

(1/1) FatalErrorException

Compile Error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false

in PDOConnection.php line 70

 

Any idea on how to solve it and fix it?

Warm hugs
Fabrizio

 

Screenshot_2.png

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

6 minutes ago, ComGrafPL said:

Can depend on installed theme, modules or any other factors.

Time is fine with php 8. Modules and other factors....i do not think since the DEVO Mode made an alert that is an error already know in the last months.

I made a new installation of prestashop 1.7.8.6 with php 8.1, with default template and default modules.....and i got the same error....so it is something in prestashop that needs to be fixed

Link to comment
Share on other sites

On 10/25/2022 at 1:06 AM, Mediacom87 said:

Hi,

Your version is not compatible with PHP8

826420977_tableaucompatibilitephp1.6.1.x-1.7.8.jpg.afdcdd4d9c6adc2985a062e7a82611bd.jpg

https://devdocs.prestashop-project.org/1.7/basics/installation/system-requirements/#php-requirements

Only version 8 of PrestaShop will be compatible with PHP 8 and it is in development phase.

https://build.prestashop-project.org/news/prestashop-8-0-rc1-release/

Ok, thanks a lot. Really appreciated

Link to comment
Share on other sites

  • Kriter.io changed the title to [SOLVED] Update PS 1.7 with PHP 8 - fatall error

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...