Fatal error: Uncaught TypeError: Argument 2 passed to Okay\Helpers\MetadataHelpers\ProductMetadataHelper::setUp() must be an object or null, bool given, called in /var/www/fastuser/data/www/630630.ru/Okay/Helpers/ProductsHelper.php on line 396 and defined in /var/www/fastuser/data/www/630630.ru/Okay/Helpers/MetadataHelpers/ProductMetadataHelper.php:20
Stack trace:
#0 /var/www/fastuser/data/www/630630.ru/Okay/Helpers/ProductsHelper.php(396): Okay\Helpers\MetadataHelpers\ProductMetadataHelper->setUp(Object(stdClass), false, NULL)
#1 /var/www/fastuser/data/www/630630.ru/Okay/Controllers/CategoryController.php(133): Okay\Helpers\ProductsHelper->attachDescriptionByTemplate(Array)
#2 [internal function]: Okay\Controllers\CategoryController->render(Object(Okay\Entities\BrandsEntity), Object(Okay\Entities\CategoriesEntity), Object(Okay\Helpers\CatalogHelper), Object(Okay\Helpers\ProductsHelper), Object(Okay\Helpers\FilterHelper), Object(Okay\Entities\ProductsEntity), Object(Okay\Helpers\MetadataHelpers\CategoryMetadataHelper), Ob in /var/www/fastuser/data/www/630630.ru/Okay/Helpers/MetadataHelpers/ProductMetadataHelper.php on line 20