Jump to content

Edit History

marek200

marek200

Witam,  chcę zmienić wersję PHP na serwerze z 5.6 na 7.0. Gdy zmienię na Prestashopie wywala błąd:

Jak to załatać ?

Fatal error: Uncaught Error: [] operator not supported for strings in /home/foodfood/ftp/foodmarket/classes/db/DbQuery.php:96 Stack trace: 

#0 /home/foodfood/ftp/foodmarket/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') 
#1 /home/foodfood/ftp/foodmarket/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) 
#2 /home/foodfood/ftp/foodmarket/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) 
#3 /home/foodfood/ftp/foodmarket/classes/shop/Shop.php(397): ShopCore->__construct('1') 
#4 /home/foodfood/ftp/foodmarket/config/config.inc.php(114): ShopCore::initialize() 
#5 /home/foodfood/ftp/foodmarket/index.php(27): require('/home/foodfood/...') 
#6 {main} thrown in /home/foodfood/ftp/foodmarket/classes/db/DbQuery.php on line 96

 

 

 

 

marek200

marek200

Witam,  chcę zmienić wersję PHP na serwerze z 5.6 na 7.0. Gdy zmienię na Prestashopie wywala błąd:

Jak to załatać ?

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

×
×
  • Create New...