Jump to content

Installing Prestashop 8.0 on a http 500 errored site


jrgrafisk

Recommended Posts

www.nettotruck.dk has crashed since one.com updated to php 8.0.

I haven't worked with the site for about 1 year, and now I kinda just want to kill the site and build a new one from scratch.

However, if i can manage to update to prestashop 8.0 i might be able to save something from this site. 
(yes i have backups of databases and files)

Can someone point me to a guide on how to update the current site to Prestashop 8.0?


Current error on the site:
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /customers/0/8/2/nettotruck.dk/httpd.www/src/Adapter/EntityMapper.php:99 Stack trace: #0 /customers/0/8/2/nettotruck.dk/httpd.www/src/Adapter/EntityMapper.php(99): array_key_exists('id_shop', Object(Shop)) #1 /customers/0/8/2/nettotruck.dk/httpd.www/classes/ObjectModel.php(264): PrestaShop\PrestaShop\Adapter\EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /customers/0/8/2/nettotruck.dk/httpd.www/classes/shop/Shop.php(128): ObjectModelCore->__construct('1', NULL, NULL) #3 /customers/0/8/2/nettotruck.dk/httpd.www/classes/shop/Shop.php(411): ShopCore->__construct('1') #4 /customers/0/8/2/nettotruck.dk/httpd.www/config/config.inc.php(118): ShopCore::initialize() #5 /customers/0/8/2/nettotruck.dk/httpd.www/index.php(27): require('/customers/0/8/...') #6 {main} thrown in /customers/0/8/2/nettotruck.dk/httpd.www/src/Adapter/EntityMapper.php on line 99

Link to comment
Share on other sites

9 hours ago, jrgrafisk said:

I actually just want my attributes and products to be maintained. The rest could use a rework after all.

Take a VPS and freeze your php for a while, it gives you time to work on a solution for the future. You can have a usefull VPS for as little as €60 a year.

Edited by Nickz (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...