cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error in Abstract.php

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Fatal error in Abstract.php

Hi All,

 

I've developed an issue while designing a theme.  when I click on a product I get this error.

 

Fatal error: Call to a member function addToChildGroup() on null in /home/columbiacoat/webapps/mage192_3/app/code/core/Mage/Core/Block/Abstract.php on line 815

 

however I'm not seeing an error in the abstract.php line 815 is :  $this->getParentBlock()->addToChildGroup($groupName, $this);

  /**
     * Add self to the specified group of parent block
     *
     * @param string $groupName
     * @return Mage_Core_Block_Abstract
     */
    public function addToParentGroup($groupName)
    {
        $this->getParentBlock()->addToChildGroup($groupName, $this);
        return $this;
    }

Any Help is greatly appreciated!

1 REPLY 1

Re: Fatal error in Abstract.php

Found it on my own, there was an error in the catalog.xml