Results view: error

Status: under development
Branch: https://gitlab.com/joomleague/joomleague/tree/3.0.0

Moderator: And_One

huntlyfc
.
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


http://www.huntlyfc.co.uk/index.php/component/joomleague/results/17/196/0/0/0

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

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 Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/


Return to “3.0.22.57ae969-Blue (Joomla: 3.x)”

Who is online

Users browsing this forum: No registered users and 4 guests

cron