Author Topic: Fatal error: Unsupported operand types in ***/includes/router.php on line 141  (Read 7008 times)

strobemannen

  • Beginner
  • *
  • Posts: 11
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?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27734
  • Always on vacation
    • Jenkin Hill Internet
What version of VirtueMart?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.8.0 10314 on Joomla 3.9.16 PHP 7.0.33

RolandD

  • Full Member
  • ***
  • Posts: 780
    • Home of CSVI
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.
Regards,

RolandD

CSVI
http://www.csvimproved.com/

strobemannen

  • Beginner
  • *
  • Posts: 11
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.