By Guest on Thursday, 31 August 2017
Replies 3
Likes 0
Views 2.7K
Votes 0
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
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
·
Thursday, 31 August 2017 23:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

What is your backend htaccess un/pw?
·
Thursday, 31 August 2017 14:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, i removed the htaccess Password now.
Do you need FTP also?
·
Thursday, 31 August 2017 17:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post