Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Second block taken the id set for the 1st block [SOLVED]
 
piotrn
Member
 
Total Posts:  33
Joined:  2008-04-27
 

This doesn’t seem to be directly related. Your error indicates that current category inside layer was somehow overwritten.
The two lines you should have added would not cause this.

Maybe you try to list products from non-existing category ? That could be one cause.
Are there any other changes you might have made to the Mage/Catalog/Block/Product/List.php or Mage/Catalog/Model/Layer.php files ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
eliteeternity
Member
 
Avatar
Total Posts:  74
Joined:  2008-07-16
 

I didn’t make any changes that I know of.....How would I “list products from non-existing category” Is this even possible?

 
Magento Community Magento Community
Magento Community
Magento Community
 
brianpat
Member
 
Total Posts:  44
Joined:  2008-04-05
 

Hi
PiotrN,

Thanks for your code. It works fine,but only problem is it doesn’t show the products correctly on th epage. For example,if u set number of products per page 8 and if there are 9 total products, then on one page it shows all 9 products instead of 8 in one page and 1 in another page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
eliteeternity
Member
 
Avatar
Total Posts:  74
Joined:  2008-07-16
 

If anybody followed this thread and is having problems with search function errors, or catalog displays not showing up correctly, then follow this thread: http://www.magentocommerce.com/boards/viewthread/13352/

It basically comes down to reversing all the moves you made on this thread. It screws up more than it fixes.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2