php - Magento AHT Slideshow plugin - Fatal error: Call to a member function setProductsRelated() on a non-object -
we using aht magento plugin manage slideshows, , when selecting static blocks menu item on left, error:
fatal error: call member function setproductsrelated() on non-object in /www/app/code/local/aht/aslideshow/controllers/adminhtml/slideshowcontroller.php on line 270
the line in question looks (the getlayout one):
`public function staticblockaction() {
$this->_initaction();
$this->loadlayout();
$this->getlayout()->getblock('aslideshow.slideshow.edit.tab.staticblocks') ->setproductsrelated($this->getrequest()->getpost('staticblocks_slideshow', null));
$this->renderlayout();
} `
Comments
Post a Comment