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();

} `

the static block error


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -