Home
Categories
Categories:
All Categories
Search...
Suggested keywords
Search
x
Search
Sign In
Sign in to your account
If you are new here please
register for an account
Username
Password
Keep me logged in
Sign In
Forgot username?
Forgot password?
New
Issue
0 - Using $this when not in object context
JEvents (Free Access)
stefan75
Thursday, 31 August 2017
3
Replies
2.9K 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
Oldest First
Newest First
Oldest First
tonyp
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
tonyp
Thursday, 31 August 2017 14:17
·
#192644
0
Votes
Undo
Hello,
What is your backend htaccess un/pw?
stefan75
Thursday, 31 August 2017 17:23
·
#192653
0
Votes
Undo
Hi, i removed the htaccess Password now.
Do you need FTP also?
tonyp
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
Page :
1
There are no replies made for this post yet.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »
Username
Password
Remember Me