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

1.1.5 Notice: Undefined variable: taxClassId in … Grouped.php on line 99
 
Mitirapa
Jr. Member
 
Total Posts:  30
Joined:  2007-08-31
 

Hi
Notice: Undefined variable: taxClassId in C:\xampp\htdocs\sites\app\code\core\Mage\CatalogIndex\Model\Mysql4\Data\Grouped.php on line 99

for new grouped products…

so i added

$taxClassId=7;

before

$result[] = array('customer_group_id'=>$customerGroup'minimal_value'=>$resultMinimal'tax_class_id' => $taxClassId);

and it’s ok for me as i used only one class id

but if someone have the right fix…

tks ced

 
Magento Community Magento Community
Magento Community
Magento Community
 
Anton Makarenko
Magento Team
 
Avatar
Total Posts:  184
Joined:  2008-05-13
Los Angeles, CA
 

Try this patch:

IndexGrouped.php
===================================================================
--- 
Grouped.php    (revision 24825)
+++ 
Grouped.php    (working copy)
@@ -
56,+56,@@
         foreach (
$groups as $group{
             $resultMinimal    
null;
             
$resultTaxClassId 0;
+            
$taxClassId       0;
             
$customerGroup $group->getId();
             
$storeObject $stores->getItemById($store);
 
Magento Community Magento Community
Magento Community
Magento Community
 
Dave Smith
Member
 
Avatar
Total Posts:  58
Joined:  2008-02-03
Tamworth, UK
 

Hey Guys,

Same issue here. You will have to forgive my lack of knowledge but how and where do I apply this patch?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 
Dave Smith - 16 September 2008 06:16 AM

Hey Guys,

Same issue here. You will have to forgive my lack of knowledge but how and where do I apply this patch?

The file you have to modify is

app\code\core\Mage\CatalogIndex\Model\Mysql4\Data\Grouped.php

Just add the following line between lines 58-59:

$taxClassId       0;
 
Magento Community Magento Community
Magento Community
Magento Community
 
Yaeger4
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-06-26
 

My issue is that my Layered Navigation has disappeared and I can’t seem to bring it back… I just did the 1.1.6 upgrade and the above patch seems to be there… is there anything else I should do?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top