You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PHP8.0] Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs)
#30642
Closed
2 tasks done
neoacevedo opened this issue
Dec 21, 2022
· 1 comment
Loging in with PHP8 raises the error described in the title. My guess is Prestasho 1.7.x remains to run only with PHP 7.4.
Running locally with PHP 8 and recently updated Prestashop, I get the error described in the title when I login in the backend. As I don't have enable the login in the frontend, I guess it would happen also. What I see once I have loged in is a blank page because it's a replica from my production store.
I updated it locally using PHP 7.4 and closed the session; I changed then the PHP version to 8.0 and I tried to login having this issue.
Expected behavior
To login and to access the dashboard.
Steps to reproduce
Update via PHP7 from 1.7.8.7 to 1.7.8.8 locally
Close the session once updated
Change the PHP version from 7.4 to 8.0
Access the login page
Login
PrestaShop version(s) where the bug happened
1.7.8.8
PHP version(s) where the bug happened
8.0
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered:
Hi @neoacevedo, Prestashop 1.7.8 is not compatible with PHP 8.
PHP > 8 is supported since Prestashop 8.0.0, upgrade procedure will be available in the following days. Upgrade, then change the PHP version and everything should work fine.👍
Prerequisites
Describe the bug and add attachments
Loging in with PHP8 raises the error described in the title. My guess is Prestasho 1.7.x remains to run only with PHP 7.4.
Running locally with PHP 8 and recently updated Prestashop, I get the error described in the title when I login in the backend. As I don't have enable the login in the frontend, I guess it would happen also. What I see once I have loged in is a blank page because it's a replica from my production store.
I updated it locally using PHP 7.4 and closed the session; I changed then the PHP version to 8.0 and I tried to login having this issue.
Expected behavior
To login and to access the dashboard.
Steps to reproduce
PrestaShop version(s) where the bug happened
1.7.8.8
PHP version(s) where the bug happened
8.0
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: