greg2020 Posted November 11, 2020 Share Posted November 11, 2020 Hi, Hope you can help me. Our shop stopped working on the 9 Nov. Error message is below. I have reviewed all other options in the forums. Is it a server config ussue or something else. What do I need to ask my hosting provider to do? Appreciate any help. [10-Nov-2020 23:35:03 UTC] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home/growersmarketnet/public_html/classes/db/DbQuery.php:96 Stack trace: #0 /home/growersmarketnet/public_html/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /home/growersmarketnet/public_html/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /home/growersmarketnet/public_html/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /home/growersmarketnet/public_html/classes/shop/Shop.php(397): ShopCore->__construct('1') #4 /home/growersmarketnet/public_html/config/config.inc.php(115): ShopCore::initialize() #5 /home/growersmarketnet/public_html/adminpanel/index.php(36): require('/home/growersma...') #6 {main} thrown in /home/growersmarketnet/public_html/classes/db/DbQuery.php on line 96 Link to comment Share on other sites More sharing options...
JBW Posted November 11, 2020 Share Posted November 11, 2020 Please check if your Presta version is compatible with your PHP version! https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Link to comment Share on other sites More sharing options...
greg2020 Posted November 11, 2020 Author Share Posted November 11, 2020 Hi JBW, Thank you for your reply. Yes the server meets all of those requirements. It has only just stopped working a few days ago after running fine for years. It looks like we are running with Prestashop 1.6.1.2 Link to comment Share on other sites More sharing options...
CedCommerce Team Posted November 12, 2020 Share Posted November 12, 2020 Hello, Hope you are fine. Please have a look at following link - https://www.prestashop.com/en/blog/the-500-internal-server-error-explained-solved Hope this will help you. Thanks!!! Link to comment Share on other sites More sharing options...
JBW Posted November 12, 2020 Share Posted November 12, 2020 7 hours ago, greg2020 said: t has only just stopped working a few days ago after running fine for years I think your hosting has change the PHP version. Please check to version and compare to above posted PHP requirement chart 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