Thursday, 31 August 2017
  3 Replies
  2.7K Visits
0
Votes
Undo
Hi, on our Site http://www.zoebing.at the Link to Locations cause following error:

0 - Using $this when not in object context


The error is on following Link: http://www.zoebing.at/essen-trinken/heurige/locations

Can you help we whats the problem?
I think it is since last Joomla Update.

Thanks in advance!
Stefan
Thursday, 31 August 2017 23:09
·
#192670
Accepted Answer
0
Votes
Undo
Hello,

Your template had an override for list of locations and you were calling a menu using JSite::getMenu() which is no good, you needed to use:

$app = JFactory::getApplication();
$app->getMenu();

I have updated it for you.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Thursday, 31 August 2017 14:17
·
#192644
0
Votes
Undo
Hello,

What is your backend htaccess un/pw?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Thursday, 31 August 2017 17:23
·
#192653
0
Votes
Undo
Hi, i removed the htaccess Password now.
Do you need FTP also?
Thursday, 31 August 2017 23:09
·
#192670
Accepted Answer
0
Votes
Undo
Hello,

Your template had an override for list of locations and you were calling a menu using JSite::getMenu() which is no good, you needed to use:

$app = JFactory::getApplication();
$app->getMenu();

I have updated it for you.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.