VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jkbiggs on July 15, 2013, 21:16:23 PM

Title: Menu tab won't go to VirtueMart
Post by: jkbiggs on July 15, 2013, 21:16:23 PM
I'm using Joomla 1.5; downloaded VirtueMart 2.0.22a.  When I click on the menu tab for the store, I get this message:  Fatal error: Call to a member function get() on a non-object in /home/thunderb/public_html/components/com_virtuemart/views/virtuemart/view.html.php on line 165.

My url is beta.thunderbeachproductions.com

I'm not sure what is missing.

Thanks
Title: Re: Menu tab won't go to VirtueMart
Post by: Fernando Soares on August 13, 2013, 02:45:46 AM
Hi,

I solved this... see how:

Edit the "view.html.php" file located at folder "/components/com_virtuemart/views/virtuemart" and at line 165 change from:

$menuTitle = $menu->params->get('page_title');


To:

$params1 = new JParameter($menu->params);
$menuTitle = $params1->get('page_title');


Note: VirtueMart 2.0.22a / Joomla! 1.5.26

Reference: Can't set custom Page Title in Item Menu ( VM Front Page ) (http://forum.virtuemart.net/index.php?topic=112818.0)