Whoops, looks like something went wrong.

(1/1) ContextErrorException

Warning: count(): Parameter must be an array or an object that implements Countable

in 2878b11aa3e5a98a8bd73d9c3395e2416faa6158_2.file.blockwishlist_button.tpl.php line 24
at content_62de8683b8efc4_69089333(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()in Module.php line 2375
at ModuleCore->display('/home/morid/public_html/modules/blockwishlist/blockwishlist.php', 'blockwishlist_button.tpl')in blockwishlist.php line 134
at BlockWishList->hookDisplayProductListFunctionalButtons(array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 966
at HookCore::coreCallHook(object(BlockWishList), 'hookdisplayProductListFunctionalButtons', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 351
at HookCore::callHookOn(object(BlockWishList), 'displayProductListFunctionalButtons', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 903
at HookCore::exec('displayProductListFunctionalButtons', array('product' => object(ProductListingLazyArray), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayProductListFunctionalButtons', 'product' => object(ProductListingLazyArray)), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayProductListFunctionalButtons', 'product' => object(ProductListingLazyArray)), object(SmartyDevTemplate)))in e5c4cda11e77033db02938164c7d8ce2436f5751_2.file.product.tpl.php line 316
at Block_40990959562de8683a8bb44_24120597->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_40990959562de8683a8bb44_24120597), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_40990959562de8683a8bb44_24120597))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_40990959562de8683a8bb44_24120597', 'product_miniature_item')in e5c4cda11e77033db02938164c7d8ce2436f5751_2.file.product.tpl.php line 33
at content_62de8683b34991_08143603(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array('product' => object(ProductListingLazyArray)), 0, true)in 5da8e9ca96c7b91d8fc628594d81d1027fcce1e8_2.file.products.tpl.php line 68
at Block_102709207162de8683a7f894_89667958->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_102709207162de8683a7f894_89667958), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_102709207162de8683a7f894_89667958))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_102709207162de8683a7f894_89667958', 'product_miniature')in 5da8e9ca96c7b91d8fc628594d81d1027fcce1e8_2.file.products.tpl.php line 40
at content_62de8683a84ad2_07649530(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/products.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array('listing' => array('result' => object(ProductSearchResult), 'label' => 'Kategori: KESEHATAN', 'products' => array(object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray)), 'sort_orders' => array(array('entity' => 'product', 'field' => 'position', 'direction' => 'asc', 'label' => 'Relevansi', 'urlParameter' => 'product.position.asc', 'current' => true, 'url' => 'https://mor.id/37-kesehatan?order=product.position.asc'), array('entity' => 'product', 'field' => 'name', 'direction' => 'asc', 'label' => 'Nama, A ke Z', 'urlParameter' => 'product.name.asc', 'current' => false, 'url' => 'https://mor.id/37-kesehatan?order=product.name.asc'), array('entity' => 'product', 'field' => 'name', 'direction' => 'desc', 'label' => 'Nama, Z ke A', 'urlParameter' => 'product.name.desc', 'current' => false, 'url' => 'https://mor.id/37-kesehatan?order=product.name.desc'), array('entity' => 'product', 'field' => 'price', 'direction' => 'asc', 'label' => 'Harga, Rendah ke Tinggi', 'urlParameter' => 'product.price.asc', 'current' => false, 'url' => 'https://mor.id/37-kesehatan?order=product.price.asc'), array('entity' => 'product', 'field' => 'price', 'direction' => 'desc', 'label' => 'Harga, Tinggi ke Rendah', 'urlParameter' => 'product.price.desc', 'current' => false, 'url' => 'https://mor.id/37-kesehatan?order=product.price.desc')), 'sort_selected' => 'Relevansi', 'pagination' => array('total_items' => '25', 'items_shown_from' => 1, 'items_shown_to' => 12, 'current_page' => 1, 'pages_count' => 3, 'pages' => array(array('type' => 'page', 'page' => 1, 'clickable' => false, 'current' => true, 'url' => 'https://mor.id/37-kesehatan'), array('type' => 'page', 'page' => 2, 'clickable' => true, 'current' => false, 'url' => 'https://mor.id/37-kesehatan?page=2'), array('type' => 'page', 'page' => 3, 'clickable' => true, 'current' => false, 'url' => 'https://mor.id/37-kesehatan?page=3'), array('type' => 'next', 'page' => 2, 'clickable' => true, 'current' => false, 'url' => 'https://mor.id/37-kesehatan?page=2')), 'should_be_displayed' => true), 'rendered_facets' => '<!-- begin catalog/_partials/facets.tpl --> <div id="search_filters"> <p class="text-uppercase h6 hidden-sm-down">Filter berdasarkan</p> <div id="_desktop_search_filters_clear_all" class="hidden-sm-down clear-all-wrapper"> <button data-search-url="https://mor.id/37-kesehatan" class="btn btn-tertiary js-search-filters-clear-all"> <i class="material-icons">&#xE14C;</i> Bersihkan semua </button> </div> </div><!-- end catalog/_partials/facets.tpl -->', 'rendered_active_filters' => '<!-- begin catalog/_partials/active_filters.tpl --><section id="js-active-search-filters" class="hide"> <h1 class="h6 hidden-xs-up">Filter aktif</h1> </section><!-- end catalog/_partials/active_filters.tpl -->', 'js_enabled' => false, 'current_url' => 'https://mor.id/37-kesehatan')), 0, false)in 562d006dc44b69870f39eaf4f32ace025ee0b641_2.file.product-list.tpl.php line 83
at Block_69039816262de86837b3db4_96719403->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_69039816262de86837b3db4_96719403), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_69039816262de86837b3db4_96719403))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_69039816262de86837b3db4_96719403', 'product_list', 1)in 562d006dc44b69870f39eaf4f32ace025ee0b641_2.file.product-list.tpl.php line 157
at Block_65831566162de86837aca25_53391415->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_65831566162de86837aca25_53391415), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_65831566162de86837aca25_53391415), object(Block_9557238062de86837c02f6_09802103))in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9557238062de86837c02f6_09802103))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9557238062de86837c02f6_09802103', 'content', 2)in 7a31939a2a51474ffea2d59725adb55855b3c22f_2.file.layout-left-column.tpl.php line 84
at Block_179685478862de86837be8c4_14618117->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_179685478862de86837be8c4_14618117), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_179685478862de86837be8c4_14618117), object(Block_110090784362de86837d4eb5_40669783))in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_110090784362de86837d4eb5_40669783))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_110090784362de86837d4eb5_40669783', 'content_wrapper')in ab6fe357c6a17b7bf9a4971b0bde9564c59e8c33_2.file.layout-both-columns.tpl.php line 92
at content_62de86837e7703_09101596(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 7a31939a2a51474ffea2d59725adb55855b3c22f_2.file.layout-left-column.tpl.php line 38
at content_62de86837c1739_69534048(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-left-column.tpl')in 562d006dc44b69870f39eaf4f32ace025ee0b641_2.file.product-list.tpl.php line 37
at content_62de86837b7366_17700281(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('catalog/listing/product-list.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'catalog/listing/product-list.tpl')in 41498a15f6a72f35cf69f0d34094a83f08309076_2.file.category.tpl.php line 34
at content_62de86837a5d94_07367972(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('catalog/listing/category.tpl')in FrontController.php line 666
at FrontControllerCore->display()in Controller.php line 301
at ControllerCore->run()in Dispatcher.php line 511
at DispatcherCore->dispatch()in index.php line 28