Jump to content

Błąd 500 przy zmianie wersji php ( Logi błędu)

Recommended Posts

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





Edited by marek200 (see edit history)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More