Results view: error

Status: under development

Moderator: And_One

Posts: 69
Joined: Mon Apr 30, 2012 1:49 pm
Joomleague version: 2.0.x

Results view: error

Postby huntlyfc » Sat Jul 08, 2017 3:07 pm

Can anyone tell me why I've got the following error on the results view?

Code: Select all

Fatal error: Using $this when not in object context in /homepages/39/d87653770/htdocs/site/components/com_joomleague/helpers/html.php on line 250

User avatar
Posts: 339
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542

Re: Results view: error

Postby Trubadix » Thu Jul 20, 2017 7:11 pm

Looks like $this-->xxx is not defined or has got wrong naming.
To find out include between line 245-246 a dump like:

Code: Select all

echo "<pre> <b> Get Variables: ",var_dump("This Config: ", $this->config),"</pre>";

Have a look on the result, if all ok, change the code of the var_dump to the next $this->xxx and so on.
If found the bad boy you have to show at the prepare-part of $this->xxxx to find out is prepared or not or is prepared with other name.

Happy debugging :cool:
Life-System : Joomla 2.5.28 auf Domainfactory, Joomleague 2.0.x
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x

Return to “ (Joomla: 3.x)”

Who is online

Users browsing this forum: No registered users and 2 guests