Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • briany Friend
    #135001

    Hi

    I tried to add a Menu Link (Alias) item in Main Menu and got following message:

    Warning: Missing argument 1 for JMenu::getInstance(), called in <templates dir>ja_irisja_menusBase.class.php on line 143 and defined in <server dir>librariesjoomlaapplicationmenu.php on line 82

    Fatal error: Call to a member function getItem() on a non-object in <templates dir>ja_irisja_menusBase.class.php on line 144

    I opened file ja_menus/Base.class.php, went to line 143 and replace current code:
    $menu = &JMenu::getInstance();
    with
    $menu = &JSite::getMenu();

    It fixed the error message but link won’t work…. Please help!!

    PS. I also tried menulink on JA Pyrite and JA_SanidineII_Light. They didn’t show the error message, but link to wrong items (with wrong Itemid)

    briany Friend
    #278224

    Well, it was a error in menu system. Guy from Joomlart have fixed it for me. He said they will update it soon.

    Praise for their premium support ^^

    inkstudio Friend
    #279719

    I had the same problem with Avian II. How do I correct it? Is the update available already.

    briany Friend
    #279752

    They updated the file system in JA Trona. But I don’t know they revised the older templates yet. You can try to replace all the .php files under ja_menus with the files in JA Trona (backup first! of course)

    BTW, I don’t think they fixed all the problem. It’s fine if I set menulink to article, but I still got error message when I set menulink to section. I haven’t got time to do more test or report the issue tho. Hopefully they already fix it by now.

    Sherlock Friend
    #281695

    Hi briany and wklai !
    This problem is updated in all templates , Please redownload template package , get base.class.php file (in templates//ja_menus folder) from it and overwrite to old file.

    inkstudio Friend
    #282500

    But looking at the download for Avian II, the date and version seems unchanged from the last I downloaded, which is ver 1.5 – :confused:

    Sherlock Friend
    #282529

    Hi wklai !
    The date is “Date Added” it isn’t date updated. the version is version of joomla , please redownload it and you will see that it has updated.

    inkstudio Friend
    #289890

    Have patched the file. Although no more warning messages, the links are not working when coming from home (front) page. The breadcrumb is also not updated.

    I am sticking to using Articles layout instead of Menulink for now.

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

This topic contains 8 replies, has 3 voices, and was last updated by  inkstudio 15 years, 9 months ago.

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