Hi,
I have made a fresh install of 1.9.2.4.
I have also a CMS page "New products". In the content of this page I have put :
{{block type="catalog/product_new" column_count="6" products_count="0" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/list.phtml"}}
This works in 1.9.1.0 but not in 1.9.2.4.
This is the error:
Fatal error: Call to a member function count() on a non-object in var/www/vhosts/ ....../app/design/frontend/default/XXXX/template/catalog/product/list.phtml on line 38
<?php /** * Product list template * * @see Mage_Catalog_Block_Product_List */ ?> <?php $_productCollection=$this->getLoadedProductCollection(); $_helper = $this->helper('catalog/output'); ?> <?php if(!$_productCollection->count()): ?> <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p> <?php else: ?> <article class="category-products"> <?php echo $this->getToolbarHtml() ?>
thx,
gp
Solved! Go to Solution.
Your template (design) supports Magento 1.9.2.4?
==========================================
Ваш шаблон (дизайн) поддерживает Magento 1.9.2.4?
Your template (design) supports Magento 1.9.2.4?
==========================================
Ваш шаблон (дизайн) поддерживает Magento 1.9.2.4?