I'm running Magento 1.9.3.3
and whenever I try to delete a product I get an HTTP ERROR 500
page. Everything else seems to work normally.
The error log says:
PHP Fatal error: Call to a member function joinRel() on boolean in /home/xxxxxxxx/public_html/app/code/core/Mage/Tag/Model/Tag.php on line 127
This is the relevant section from that tag.php file:
protected function _getProductEventTagsCollection(Varien_Event_Observer $observer)
{
return $this->getResourceCollection()
->joinRel()
->addProductFilter($observer->getEvent()->getProduct()->getId())
->addTagGroup()
->load();
}
I can't find any reference to this online at all and I'm completely stumped. Has anyone got any ideas, or suggest a fix?
Many thanks.
$this->getResourceCollection()
returns false. Just to be sure, did you try to clean the cache and reindex?