Jump to content


Issue information

  • #024966

  • Not a Bug

  • 3.2.2

  • -

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

Fatal error when commeting in the gallery

Posted by teraßyte on 25 August 2010 - 11:11 AM

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 ];

Updating status to: Not a Bug

No longer an issue due to changed codebase.






0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users