Jump to content

Uncaught error blocking store access


Recommended Posts

My shop at starmen.com runs prestashop 1.6.0.11 and suddenly stopped functioning as the following fatal error appears:

  • Fatal error: Uncaught Error: [] operator not supported for strings in /home/starmen/public_html/shop/classes/db/DbQuery.php:70 Stack trace: #0 /home/starmen/public_html/shop/classes/ObjectModel.php(214): DbQueryCore->from('shop', 'a') #1 /home/starmen/public_html/shop/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #2 /home/starmen/public_html/shop/classes/shop/Shop.php(394): ShopCore->__construct('1') #3 /home/starmen/public_html/shop/config/config.inc.php(97): ShopCore::initialize() #4 /home/starmen/public_html/shop/admin157k42erm/index.php(34): require('/home/starmen/p...') #5 {main} thrown in /home/starmen/public_html/shop/classes/db/DbQuery.php on line 70

From other forum discussions it seems to be related to an update in how php handles strings, yet none of the fixes recommended there seem to work.

Appreciate any suggestions for fixes that could work.

Link to comment
Share on other sites

  • 2 years later...

We're back again with more tweaks needed on our starmen.com/shop site.

The site is showing a blank page (white screen) on the shop page, and there is no file when looking for pagesource.

This occurred after updating the security certificate, which makes no sense.

The error log (below) shows an issue with one of the addons:

[30-Mar-2023 19:18:24 UTC] PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /home/starmen/public_html/shop/config/defines.inc.php on line 143
[30-Mar-2023 19:18:24 UTC] PHP Fatal error:  Uncaught Core_Foundation_IoC_Exception: This doesn't seem to be a class name: `Adapter_EntityMapper`. in /home/starmen/public_html/shop/Core/Foundation/IoC/Core_Foundation_IoC_Container.php:95

Stack trace:
#0 /home/starmen/public_html/shop/Core/Foundation/IoC/Core_Foundation_IoC_Container.php(157): Core_Foundation_IoC_Container->makeInstanceFromClassName('Adapter_EntityM...', Array)
#1 /home/starmen/public_html/shop/Core/Foundation/IoC/Core_Foundation_IoC_Container.php(170): Core_Foundation_IoC_Container->doMake('Adapter_EntityM...', Array)
#2 /home/starmen/public_html/shop/Adapter/Adapter_ServiceLocator.php(52): Core_Foundation_IoC_Container->make('Adapter_EntityM...')
#3 /home/starmen/public_html/shop/classes/ObjectModel.php(232): Adapter_ServiceLocator::get('Adapter_EntityM...')
#4 /home/starmen/public_html/shop/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL)
#5 /home/starmen/public_html/shop/classes/shop/Shop.php(400): ShopCore->__construct('1')
#6 /home/starmen/public_html/shop/ in /home/starmen/public_html/shop/Core/Foundation/IoC/Core_Foundation_IoC_Container.php on line 95

 

I will greatly appreciate any help or suggestions from this august body.

Thanks in advance,

Ken

 

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