Saturday, 25 October 2014 17:37
beggarly

Strict Standards: Non-static method

Report Xmap bugs on this forum.

Strict Standards: Non-static method

Postby spazio_tempo » Tue Jan 29, 2013 1:43 pm

Strict Standards: Non-static method JSite::getMenu() should not be called statically in
....plugins\xmap\com_weblinks\com_weblinks.php on line 54

Strict Standards: Non-static method JApplication::getMenu() should not be called statically in includes ...\application.php on line 539

Strict Standards: Only variables should be assigned by reference in
....plugins\xmap\com_weblinks\com_weblinks.php on line 54
spazio_tempo
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Tue Jan 29, 2013 1:41 pm

Re: Strict Standards: Non-static method

Postby mhehm » Wed Jan 30, 2013 4:20 am

fix:

in file : Joomla root \plugins\xmap\com_weblinks\com_weblinks.php

search:
Code: Select all
$menu = &JSite::getMenu();

change it to:
Code: Select all
$app = JFactory::getApplication();
$menu = $app->getMenu();


I pulled this to github
User avatar
mhehm
Senior Boarder
Senior Boarder
 
Posts: 71
Joined: Sun Jan 20, 2013 1:22 pm
Location: Iran


Return to Bugs



Who is online

Users browsing this forum: No registered users and 1 guest

cron