nEwZ - sCRiPTz-TEAM.iNFO

A printed version of the article

Click here to view the article in its original format

nEwZ - sCRiPTz-TEAM.iNFO _ IPS Tracker - IP.Gallery (for IP.Board) _ Fatal error when commeting in the gallery

Added by: sCRiPTz-TEAM.iNFO Wed, 25 August 2010

The error has been reported replying as a guest but it actually affects everyone that has an error:

Fatal error: Call to undefined method skin_gallery_post_1::errors() in admin/applications_addon/ips/gallery/modules_public/post/comment.php on line 588


The issue is located actually located in a different line on my revision (582) in the function public_gallery_post_comment::replyForm:
		if ( isset($this->post_errors) AND $this->post_errors )
		{
			$error = $this->registry->output->getTemplate( 'gallery_post' )->errors( $this->lang->words[ $this->post_errors ] );
		}

The template "errors" is not available at all in gallery_post.

As a temporary fix for those that cannot wait change the line inside the if with this:
			$error = $this->lang->words[ $this->post_errors ];


Source: http://community.invisionpower.com/tracker/issue-24966-fatal-error-when-commeting-in-the-gallery/

Powered by nEwZ - sCRiPTz-TEAM.iNFO
© sCRiPTz-TEAM dEv. (sCRiPTz-TEAM.iNFO)