VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: strobemannen on March 31, 2008, 20:38:45 PM

Title: Fatal error: Unsupported operand types in ***/includes/router.php on line 141
Post by: strobemannen on March 31, 2008, 20:38:45 PM
I get this error message with the login form in virtuemart. I am using J1.5.1.

This is the code that causes the problem:

   {
         $item = $menu->getItem($this->getVar('Itemid'));
         $vars = $vars+$item->query;
      }

Can anybody please tell me how to solve this problem?
Title: Re: Fatal error: Unsupported operand types in ***/includes/router.php on line 141
Post by: jenkinhill on March 31, 2008, 22:30:27 PM
What version of VirtueMart?
Title: Re: Fatal error: Unsupported operand types in ***/includes/router.php on line 141
Post by: RolandD on April 01, 2008, 08:02:21 AM
I have no idea how to fix this but I know it is not VM only I have the same message on my site and I do not have VM on this site. In J1.5.2 you actually get the message "Invalid token". I can simply reproduce this to go to my site from a link in the RSS feed and then immediately try to login.
Title: Re: Fatal error: Unsupported operand types in ***/includes/router.php on line 141
Post by: strobemannen on April 01, 2008, 16:27:05 PM
I use VM 1.1.0 RC2 for Joomla 1.5.1...

But is there any other ways to get a login form? The best would be if my customers could login using their info in jos_users, as I moved my customers from a previous shop onto the new one.