VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: IliasPap on January 25, 2019, 11:59:59 AM

Title: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: IliasPap on January 25, 2019, 11:59:59 AM
Hello i am using joomla 3.9.1 with virtuemart 3.2.14 and php 7.2.

When i click to view "my account" page i get this error:
Argument 1 passed to plgVmPaymentPaypal::plgVmDisplayLogin() must be an instance of VirtuemartViewUser, instance of VmView given, called in ..../public_html/libraries/joomla/event/event.php on line 70

Can you please help me?

Thank you
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: GJC Web Design on January 25, 2019, 17:16:49 PM
Well .. the latest stable VM is  http://dev.virtuemart.net/attachments/download/1144/com_virtuemart.3.4.2.9966_package_or_extract.zip where most of the php7.2 compat was done
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: briangt on January 31, 2019, 10:33:12 AM
I have the same issue. I get the warning:
Argument 1 passed to plgVmPaymentMultisafepay_Fco::plgVmDisplayLogin() must be an instance of VirtuemartViewUser, instance of VmView given, called in >>Serveradres<</libraries/joomla/event/event.php on line 70

Did you find the solution? If i deactive the MSP plugins, the website works just right.
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: Jörgen on January 31, 2019, 11:22:42 AM
This is a Paypal thread, do You use the MSP plugin ?
New install, update
VM version?
Joomla version ?
Updated VM AIO ?

Jörgen @ Kreativ Fotografi
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: twixraider on February 07, 2019, 20:50:10 PM
I have the exact same problem. When the shopper is logged in, then everything works or If I allow unregistered users to check out. So I do not think that paypal is here the issue.
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: Jörgen on February 07, 2019, 22:15:41 PM
@twixraider You have a far to old Vm version, update.

Jörgen @ Kreativ Fotografi

Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: geertplovie on March 29, 2019, 20:22:51 PM
Hi,

I have exactly the same problem but with VM 3.4.2

Did anyone get this solved?

thanks
Title: Re: 0 - Argument 1 passed to plgVmPaymentPaypal - Error
Post by: Jörgen on March 30, 2019, 10:56:05 AM
Quote from: GJC Web Design on January 25, 2019, 17:16:49 PM
Well .. the latest stable VM is  http://dev.virtuemart.net/attachments/download/1144/com_virtuemart.3.4.2.9966_package_or_extract.zip where most of the php7.2 compat was done