Jump to content

PHP 8.0 in PS 1.7.8.7 - can't login


Ancap

Recommended Posts

Hi, I updated to PHP 8.0 because my hosting required it, but now I can't login to my Prestashop, I get this error: 

 

(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)

in PDOConnection.php line 70

 

How can I update to PS 1.8 if I can't access the panel? I can't downgrade to PHP 7 since my hosting discontinued it.

Thanks

Link to comment
Share on other sites

20 hours ago, ComGrafPL said:

Ask hosting to temporary set PHP 7.4 ( ill bet they can do it, as most hostings has such option ). If they do, install clean PS 8 and migrate data from 1.7 -> 8, either upgrade 1.7 to 8.

Thanks for your response. Just asked them and they will charge me for this, is there any way I can do it without downgrading PHP?

Edited by Ancap (see edit history)
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...