Jump to content

error 500 - prestashop 1.6.1 migrate php 5.4 to php 7.1


srtxema

Recommended Posts

hi, i am migrating from php 5.4 to 7.1 and i obtain error 500. Debug show me it

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/website/web/classes/db/DbQuery.php:95 Stack trace: #0 /var/www/vhosts/website/web/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /var/www/vhosts/website/web/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /var/www/vhosts/website/web/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /var/www/vhosts/website/web/classes/shop/Shop.php(397): ShopCore->__construct('1') #4 /var/www/vhosts/website/web/config/config.inc.php(114): ShopCore::initialize() #5 /var/www/vhosts/website/web/index.php(27): require('/var/www/vhosts...') #6 {main} thrown in /var/www/vhosts/website/web/classes/db/DbQuery.php on line 95

 

Can anyone help me? thanks!

Link to comment
Share on other sites

  • 2 months later...

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