Hi There
I have the following error when user clicks on "Report":
Fatal error: Call to a member function getAuth() on a non-object in /home/miftahma/public_html/components/com_joobb/controller/joobb.php on line 832
Please help,
Thanks
h_mechbal,
many thx for the report. I got it. It is a bug and will be solved.
Robbie
[Edit]
I solved it. You can add the following line
Code
$joobbAuth =& JoobbAuth::getInstance();
I'm also getting the following error:
Fatal error: Call to a member function getAuth() on a non-object in /components/com_joobb/controller/joobb.php on line 832
I added the following code to joobb.php on line 832:
$joobbAuth =& JoobbAuth::getInstance();
So it now looks like this:
831 // ... otherwise leave...
832 $joobbAuth =& JoobbAuth::getInstance();
833
834 $messageQueue->addMessage(JText::_('BB_MSGTOPICNOTSPECIFIED'));
835
836 $this->setRedirect(JRoute::_('index.php?option=com_joobb&view=forum&forum='.$joobbForum->id.'&Itemid='.$Itemid, false)); return;
I am still getting the error.
Any Ideas?
Had the same problem with my forum too. After looking at line 832 of my php I added the following on line 831:
$joobbAuth =& JoobbAuth::getInstance();
as the person did below.
Quote by Robbie:h_mechbal,
many thx for the report. I got it. It is a bug and will be solved.
Robbie
[Edit]
I solved it. You can add the following line
Code$joobbAuth =& JoobbAuth::getInstance();
directly above the line 832 in
JOOMLA_ROOT/components/com_joobb/controller/joobb.php
to solve it by now on your installation.
That solved my problem but then when I click report in my bulletin board. I am now receiving this message: Your report could not be sent. Please contact the webmaster of the site. How do I correct this? Thanks in advance!