( ! ) Warning: Cannot use a scalar value as an array in /var/www/html/classes/cache/Cache.php on line 463
Call Stack
#TimeMemoryFunctionLocation
10.0000401600{main}( ).../index.php:0
20.01602321176DispatcherCore::getInstance( ).../index.php:28
30.01622412576Dispatcher->__construct( ).../Dispatcher.php:207
40.01622412576Dispatcher->setRequestUri( ).../Dispatcher.php:238
50.01632415192LanguageCore::isMultiLanguageActivated( ).../Dispatcher.php:538
60.01632415192LanguageCore::countActiveLanguages( ).../Language.php:1240
70.01632415416DbPDO->getValue( ).../Language.php:1058
80.01632415416DbPDO->getRow( ).../Db.php:697
90.01692435192CacheApc->setQuery( ).../Db.php:677
100.01692435192CacheApc->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.0000401600{main}( ).../index.php:0
20.02473172088Dispatcher->dispatch( ).../index.php:28
30.02573373680CategoryController->run( ).../Dispatcher.php:515
40.02573373680CategoryController->init( ).../Controller.php:273
50.02603488744CategoryController->init( ).../CategoryController.php:92
60.02603488984CategoryController->init( ).../FrontController.php:271
70.03104016344PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.03314127456PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03434850912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03434852080PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03434852080LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03444852232DbPDO->getValue( ).../Language.php:744
200.03444852232DbPDO->getRow( ).../Db.php:697
210.03474871616CacheApc->setQuery( ).../Db.php:677
220.03474871616CacheApc->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.0000401600{main}( ).../index.php:0
20.02473172088Dispatcher->dispatch( ).../index.php:28
30.02573373680CategoryController->run( ).../Dispatcher.php:515
40.02573373680CategoryController->init( ).../Controller.php:273
50.02603488744CategoryController->init( ).../CategoryController.php:92
60.02603488984CategoryController->init( ).../FrontController.php:271
70.03104016344PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.03314127456PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03434850912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03434852080PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03434852080LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03444852232DbPDO->getValue( ).../Language.php:744
200.03444852232DbPDO->getRow( ).../Db.php:697
210.03474871616CacheApc->setQuery( ).../Db.php:677
220.03474871616CacheApc->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.0000401600{main}( ).../index.php:0
20.02473172088Dispatcher->dispatch( ).../index.php:28
30.02573373680CategoryController->run( ).../Dispatcher.php:515
40.02573373680CategoryController->init( ).../Controller.php:273
50.02603488744CategoryController->init( ).../CategoryController.php:92
60.02603488984CategoryController->init( ).../FrontController.php:271
70.03104016344PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale( ).../Controller.php:189
80.03314127456PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications( ).../Repository.php:150
90.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies( ).../Repository.php:207
100.03414825912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData( ).../Repository.php:95
110.03434850912PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData( ).../CurrencyDataSource.php:97
120.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData( ).../CurrencyDataSource.php:110
130.03434851664PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->read( ).../CurrencyDataSource.php:67
140.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyCache->propagateRead( ).../AbstractDataLayer.php:94
150.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->read( ).../AbstractDataLayer.php:150
160.03434852080PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead( ).../AbstractDataLayer.php:90
170.03434852080PrestaShop\PrestaShop\Adapter\Currency\CurrencyDataProvider->getCurrencyByIsoCodeAndLocale( ).../CurrencyDatabase.php:91
180.03434852080LanguageCore::getIdByLocale( ).../CurrencyDataProvider.php:109
190.03444852232DbPDO->getValue( ).../Language.php:744
200.03444852232DbPDO->getRow( ).../Db.php:697
210.03474871616CacheApc->setQuery( ).../Db.php:677
220.03474871616CacheApc->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 p.id_product FROM (SELECT p.id_product, p.id_manufacturer, SUM(sa.quantity) as quantity, p.condition, p.weight, p.price, psales.quantity as sales, pl.name FROM ps_product p LEFT JOIN ps_product_attribute pa ON (p.id_product = pa.id_product) LEFT JOIN ps_product_attribute_combination pac ON (pa.id_product_attribute = pac.id_product_attribute) LEFT JOIN ps_stock_available sa ON (p.id_product = sa.id_product AND IFNULL(pac.id_product_attribute, 0) = sa.id_product_attribute AND sa.id_shop = 1 AND sa.id_shop_group = 0 ) LEFT JOIN ps_product_sale psales ON (psales.id_product = p.id_product) INNER JOIN ps_product_lang pl ON (p.id_product = pl.id_product AND pl.id_shop = 1 AND pl.id_lang = 1) INNER JOIN ps_category_product cp ON (p.id_product = cp.id_product) INNER JOIN ps_category c ON (cp.id_category = c.id_category AND c.active=1) INNER JOIN ps_product_shop ps ON (p.id_product = ps.id_product AND ps.id_shop = 1 AND ps.active = TRUE) WHERE p.visibility IN (\'both\', \'catalog\') AND p.id_manufacturer IN (15, 19, 18, 20, 30, 26, 25) AND c.nleft>=2 AND c.nright<=43 AND ps.id_shop=\'1\' GROUP BY p.id_product) p INNER JOIN ps_product_lang pl ON (p.id_product = pl.id_product AND pl.id_shop = 1 AND pl.id_lang = 1) GROUP BY p.id_product ORDER BY p.name ASC, p.id_product DESC LIMIT 36, 12', array(array('id_product' => '343'), array('id_product' => '346'), array('id_product' => '347'), array('id_product' => '348'), array('id_product' => '617'), array('id_product' => '479'), array('id_product' => '477'), array('id_product' => '480'), array('id_product' => '484'), array('id_product' => '485'), array('id_product' => '488'), array('id_product' => '489')))in Db.php line 628
at DbCore->executeS('SELECT p.id_product FROM (SELECT p.id_product, p.id_manufacturer, SUM(sa.quantity) as quantity, p.condition, p.weight, p.price, psales.quantity as sales, pl.name FROM ps_product p LEFT JOIN ps_product_attribute pa ON (p.id_product = pa.id_product) LEFT JOIN ps_product_attribute_combination pac ON (pa.id_product_attribute = pac.id_product_attribute) LEFT JOIN ps_stock_available sa ON (p.id_product = sa.id_product AND IFNULL(pac.id_product_attribute, 0) = sa.id_product_attribute AND sa.id_shop = 1 AND sa.id_shop_group = 0 ) LEFT JOIN ps_product_sale psales ON (psales.id_product = p.id_product) INNER JOIN ps_product_lang pl ON (p.id_product = pl.id_product AND pl.id_shop = 1 AND pl.id_lang = 1) INNER JOIN ps_category_product cp ON (p.id_product = cp.id_product) INNER JOIN ps_category c ON (cp.id_category = c.id_category AND c.active=1) INNER JOIN ps_product_shop ps ON (p.id_product = ps.id_product AND ps.id_shop = 1 AND ps.active = TRUE) WHERE p.visibility IN (\'both\', \'catalog\') AND p.id_manufacturer IN (15, 19, 18, 20, 30, 26, 25) AND c.nleft>=2 AND c.nright<=43 AND ps.id_shop=\'1\' GROUP BY p.id_product) p INNER JOIN ps_product_lang pl ON (p.id_product = pl.id_product AND pl.id_shop = 1 AND pl.id_lang = 1) GROUP BY p.id_product ORDER BY p.name ASC, p.id_product DESC LIMIT 36, 12')in MySQL.php line 86
at MySQL->execute()in Products.php line 88
at Products->getProductByFilters(12, 4, 'name', 'asc', array('manufacturer' => array('Biretix' => '15', 'HubisLAB' => '19', 'Keenwell' => '18', 'Mediderma' => '20', 'Pepplus' => '30', 'Sesderma' => '26', 'Vitella' => '25')))in SearchProvider.php line 143
at SearchProvider->runQuery(object(Context), object(ProductSearchQuery))in ProductListingFrontController.php line 308
at ProductListingFrontControllerCore->getProductSearchVariables()in ProductListingFrontController.php line 580
at ProductListingFrontControllerCore->doProductSearch('catalog/listing/category', array('entity' => 'category', 'id' => 2))in CategoryController.php line 137
at CategoryControllerCore->initContent()in Controller.php line 292
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28