Jump to content

Prestashop 8.0.2 - PHP Version Issue


skijump

Recommended Posts

I'm installing a fresh install of 8.0.2 and receiving an "An error occurred during installation..." message.

install/missing_requirement.php notes: 

"Your server is running PHP 7.3.33, but PrestaShop requires PHP _PS_INSTALL_MAXIMUM_PHP_VERSION_ or lower. To install PrestaShop _PS_INSTALL_VERSION_ you need to downgrade your server's PHP version."

Prestashop 8 Dev Docs says up to PHP 8 is ok, thoughts? I can easily downgrade to 5.6 PHP but curious if that's the real solution.

https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/

https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/#php-compatibility-chart

 

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

Thanks, I've used PHP 8.1 with the proper extensions without luck. I've used Prestashop for 8 years and could always figure out installs, upgrades, etc. This difficult install with error checking is a tough one.

(@miamaelia, if you're a chat bot please delete your account. You'll waste your time as well.)

Link to comment
Share on other sites

  • 7 months later...
12 minuti fa, Mediacom87 dice:

If you get a 500 error, you need to activate Debug mode.

https://www.prestatoolbox.com/content/24-errors-messages-prestashop

Yes right i did and i get this error :
Fatal error: Declaration of Link::getImageLink($name, $ids, $type = null) must be compatible with LinkCore::getImageLink($name, $ids, $type = null, string $extension = 'jpg') in /home//rulmenti.online/override/classes/Link.php on line 9

Link to comment
Share on other sites

il y a 23 minutes, Maurice a dit :

Yes right i did and i get this error :
Fatal error: Declaration of Link::getImageLink($name, $ids, $type = null) must be compatible with LinkCore::getImageLink($name, $ids, $type = null, string $extension = 'jpg') in /home//rulmenti.online/override/classes/Link.php on line 9

It's simple: the override must be corrected to match the structure of your store. It's an update, so you need to adapt the old elements to bring them up to date.

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