( ! ) Warning: Cannot use a scalar value as an array in /var/www/html/classes/cache/Cache.php on line 463
Call Stack
#TimeMemoryFunctionLocation
10.0000398744{main}( ).../index.php:0
20.01302314432DispatcherCore::getInstance( ).../index.php:28
30.01322405424Dispatcher->__construct( ).../Dispatcher.php:207
40.01322405424Dispatcher->setRequestUri( ).../Dispatcher.php:238
50.01332408040LanguageCore::isMultiLanguageActivated( ).../Dispatcher.php:538
60.01332408040LanguageCore::countActiveLanguages( ).../Language.php:1240
70.01332408264DbPDO->getValue( ).../Language.php:1058
80.01332408264DbPDO->getRow( ).../Db.php:697
90.01382428040CacheApc->setQuery( ).../Db.php:677
100.01382428040CacheApc->updateQueryCacheStatistics( ).../Cache.php:358

( ! ) Warning: Cannot use a scalar value as an array in /var/www/html/classes/cache/Cache.php on line 463
Call Stack
#TimeMemoryFunctionLocation
10.0000398744{main}( ).../index.php:0
20.02143166392Dispatcher->dispatch( ).../index.php:28
30.02233367984CategoryController->run( ).../Dispatcher.php:515
40.02233367984CategoryController->init( ).../Controller.php:273
50.02263483048CategoryController->init( ).../CategoryController.php:92
60.02263483288CategoryController->init( ).../FrontController.php:271
70.02744010648PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.02954105376PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03064828832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03074830000PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03074830000LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03074830152DbPDO->getValue( ).../Language.php:744
200.03074830152DbPDO->getRow( ).../Db.php:697
210.03114849536CacheApc->setQuery( ).../Db.php:677
220.03114849536CacheApc->updateQueryCacheStatistics( ).../Cache.php:358

( ! ) Warning: Cannot use a scalar value as an array in /var/www/html/classes/cache/Cache.php on line 463
Call Stack
#TimeMemoryFunctionLocation
10.0000398744{main}( ).../index.php:0
20.02143166392Dispatcher->dispatch( ).../index.php:28
30.02233367984CategoryController->run( ).../Dispatcher.php:515
40.02233367984CategoryController->init( ).../Controller.php:273
50.02263483048CategoryController->init( ).../CategoryController.php:92
60.02263483288CategoryController->init( ).../FrontController.php:271
70.02744010648PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.02954105376PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03064828832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03074830000PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03074830000LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03074830152DbPDO->getValue( ).../Language.php:744
200.03074830152DbPDO->getRow( ).../Db.php:697
210.03114849536CacheApc->setQuery( ).../Db.php:677
220.03114849536CacheApc->updateQueryCacheStatistics( ).../Cache.php:358

( ! ) Warning: Cannot use a scalar value as an array in /var/www/html/classes/cache/Cache.php on line 463
Call Stack
#TimeMemoryFunctionLocation
10.0000398744{main}( ).../index.php:0
20.02143166392Dispatcher->dispatch( ).../index.php:28
30.02233367984CategoryController->run( ).../Dispatcher.php:515
40.02233367984CategoryController->init( ).../Controller.php:273
50.02263483048CategoryController->init( ).../CategoryController.php:92
60.02263483288CategoryController->init( ).../FrontController.php:271
70.02744010648PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.02954105376PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03044803832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03064828832PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03064829584PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03074830000PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03074830000PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03074830000LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03074830152DbPDO->getValue( ).../Language.php:744
200.03074830152DbPDO->getRow( ).../Db.php:697
210.03114849536CacheApc->setQuery( ).../Db.php:677
220.03114849536CacheApc->updateQueryCacheStatistics( ).../Cache.php:358

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Warning: Cannot use a scalar value as an array

in Cache.php line 463
at CacheCore->updateQueryCacheStatistics()in Cache.php line 358
at CacheCore->setQuery(' SELECT c.*, cl.`id_lang`, cl.`name`, cl.`description`, cl.`link_rewrite`, cl.`meta_title`, cl.`meta_keywords`, cl.`meta_description` FROM `ps_category` c INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 ) LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = 2 AND `active` = 1 AND cg.`id_group` =1 GROUP BY c.`id_category` ORDER BY `level_depth` ASC, category_shop.`position` ASC', array(array('id_category' => '10', 'id_parent' => '2', 'id_shop_default' => '1', 'level_depth' => '2', 'nleft' => '3', 'nright' => '20', 'active' => '1', 'date_add' => '2020-11-07 21:11:57', 'date_upd' => '2025-03-10 22:38:46', 'position' => '0', 'is_root_category' => '0', 'id_lang' => '1', 'name' => 'Kūno priežiūros priemonės', 'description' => '', 'link_rewrite' => 'kuno-prieziuros-priemones', 'meta_title' => '', 'meta_keywords' => '', 'meta_description' => ''), array('id_category' => '27', 'id_parent' => '2', 'id_shop_default' => '1', 'level_depth' => '2', 'nleft' => '21', 'nright' => '42', 'active' => '1', 'date_add' => '2025-03-10 21:08:10', 'date_upd' => '2025-03-10 22:38:46', 'position' => '1', 'is_root_category' => '0', 'id_lang' => '1', 'name' => 'Veido priežiūros priemonės', 'description' => '', 'link_rewrite' => 'veido-prieziuros-priemones', 'meta_title' => '', 'meta_keywords' => '', 'meta_description' => '')))in Db.php line 628
at DbCore->executeS(' SELECT c.*, cl.`id_lang`, cl.`name`, cl.`description`, cl.`link_rewrite`, cl.`meta_title`, cl.`meta_keywords`, cl.`meta_description` FROM `ps_category` c INNER JOIN ps_category_shop category_shop ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1) LEFT JOIN `ps_category_lang` cl ON (c.`id_category` = cl.`id_category` AND `id_lang` = 1 AND cl.id_shop = 1 ) LEFT JOIN `ps_category_group` cg ON (cg.`id_category` = c.`id_category`) WHERE `id_parent` = 2 AND `active` = 1 AND cg.`id_group` =1 GROUP BY c.`id_category` ORDER BY `level_depth` ASC, category_shop.`position` ASC')in Category.php line 909
at CategoryCore->getSubCategories(1)in CategoryController.php line 214
at CategoryControllerCore->getTemplateVarSubCategories()in CategoryController.php line 121
at CategoryControllerCore->init()in Controller.php line 273
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28