srtxema Posted December 28, 2020 Share Posted December 28, 2020 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 More sharing options...
Nickz Posted March 16, 2021 Share Posted March 16, 2021 There are a lot of changes between PHP5.4 and 7. Shops working on php5 should IMHO consider redoing their Basesite. The benefits are plentiful. New databases react much faster. Plus many more. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now