VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: extonjaez on March 19, 2017, 16:09:15 PM

Title: error with update to VM 3.2 or VM 3.0.19.9 : 0 Call to a member function load()
Post by: extonjaez on March 19, 2017, 16:09:15 PM
Hello,

I have this error during the update from VM 3.0.19.8 to :
Virtumart 3.2 or virtuemart 3.0.19.9

Notice: Undefined offset: 0 in com_virtuemart/plugins/vmplugin.php on line 121
0 Call to a member function load() on null

http://www.screencast.com/users/extonjaez/folders/Default/media/51549103-413c-4da9-8c3a-dc420b3bc192

thanks for your help
Title: Re: error with update to VM 3.2 or VM 3.0.19.9 : 0 Call to a member function load()
Post by: Milbo on March 19, 2017, 20:21:07 PM
Very likely a not adjusted system plugin, using the virtuemart language loader
Title: Re: error with update to VM 3.2 or VM 3.0.19.9 : 0 Call to a member function load()
Post by: extonjaez on March 20, 2017, 23:17:06 PM
And the culprit is ... :o
"Joomla Virtuemart Order Cancellation" 1.1 by Webkul.... >:(
Title: Re: error with update to VM 3.2 or VM 3.0.19.9 : 0 Call to a member function load()
Post by: Milbo on March 21, 2017, 20:04:11 PM
No reason to be angry. It looks like they used a vmPlugin, which calls an event before VM is loaded. It maybe enough to change it to JPlugin.