I have gone through the appropriate steps to set up a catalog price rule. Included the rule information, applied my conditions and set my actions and saved the rule successfully. It’s not until i click the “APPLY RULE” button i get an error message saying....
Fatal error: Call to a member function getDefaultStoreId() on a non-object in /app/code/core/Mage/CatalogRule/Model/Mysql4/Rule.php on line 315
here is the code from Rule.php lines 309 - 319.
line 315 is the - array($tableAlias=>$priceTable),
i’m using 1.2.02 but still no go with the price rules. can anyone suggest a fix for this. i’m a bit stuck here and would appreciate any info that may assist in resolving my issue.
Click thumbnail to see full-size image