giwrgos88 Posted December 13, 2016 Share Posted December 13, 2016 I tried to install for testing purposes an existing prestashop project on laravel's forge which is having ngix and mariadb. I've uploaded all my php files inside the public folder but when I'm trying to load the page I'm getting the following error message Fatal error: Uncaught Error: [] operator not supported for strings in /home/forge/testing.com/public/classes/db/DbQuery.php:96 Stack trace: #0 /home/forge/testing.com/public/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /home/forge/testing.com/public/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /home/forge/testing.com/public/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /home/forge/testing.com/public/classes/shop/Shop.php(400): ShopCore->__construct('1') #4 /home/forge/testing.com/public/config/config.inc.php(114): ShopCore::initialize() #5 /home/forge/testing.com/public/index.php(27): require('/home/forge/tes...') #6 {main} thrown in /home/forge/testing.com/public/classes/db/DbQuery.php on line 96 Does anyone know how I can fix this issue? I'm using prestashop 1.6.1.4 Link to comment Share on other sites More sharing options...
giwrgos88 Posted December 14, 2016 Author Share Posted December 14, 2016 As of this moment PrestaShop is not compatible with PHP 7.1 Yes i know but 7.1 is backward compatibility which means that is compatibly with 7 and according to changelog my prestashop version supports 7 https://www.prestashop.com/en/developers-versions/changelog/1.6.1.4-stable Link to comment Share on other sites More sharing options...
bestcoding.net Posted February 18, 2017 Share Posted February 18, 2017 Try this: https://bestcoding.net/blog/en/prestashop-run-prestashop-php-7-1/ 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