Category error
Posted: 25 Jun 2019, 11:31
Joomla! 3.9.8 Stable
PHP 7.2.19
Phoca Cart 3.2.2
An error occurs when going into the category with goods:
Cannot use object of type stdClass as array
/var/www/u0665671/data/www/agld.ru/components/com_phocacart/layouts/product_image.php:12
Call stack
# Function Location
1 () JROOT/components/com_phocacart/layouts/product_image.php:12
2 include() JROOT/libraries/src/Layout/FileLayout.php:125
3 Joomla\CMS\Layout\FileLayout->render() JROOT/templates/harvest/html/com_phocacart/category/default.php:521
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:697
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
6 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_phocacart/views/category/view.html.php:189
7 PhocaCartViewCategory->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_phocacart/controller.php:43
9 PhocaCartController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:710
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:14
11 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
12 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
PHP 7.2.19
Phoca Cart 3.2.2
An error occurs when going into the category with goods:
Cannot use object of type stdClass as array
/var/www/u0665671/data/www/agld.ru/components/com_phocacart/layouts/product_image.php:12
Call stack
# Function Location
1 () JROOT/components/com_phocacart/layouts/product_image.php:12
2 include() JROOT/libraries/src/Layout/FileLayout.php:125
3 Joomla\CMS\Layout\FileLayout->render() JROOT/templates/harvest/html/com_phocacart/category/default.php:521
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:697
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
6 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_phocacart/views/category/view.html.php:189
7 PhocaCartViewCategory->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_phocacart/controller.php:43
9 PhocaCartController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:710
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_phocacart/phocacart.php:14
11 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
12 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49