Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • startprogram Friend
    #985633

    [11-Nov-2016 17:36:16 UTC] PHP Deprecated: Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /home/dalmati2/public_html/components/com_jak2filter/views/itemlist/view.feed.php on line 248
    [11-Nov-2016 17:36:16 UTC] PHP Deprecated: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /home/dalmati2/public_html/libraries/cms/application/site.php on line 272

    Mo0nlight Moderator
    #986049

    Hi.

    You can try this way:

    Edit the file: components/com_jak2filter/views/itemlist/view.feed.php line: 248 Change code:

    $menus = JSite::getMenu();
            $menu = $menus->getActive();

    To :

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

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Mo0nlight 8 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum