Hello,
i can't perform any auto update extension in my Joomla admin panel. When i try to update, i have the error :
Notice: Undefined offset: 0 in /home/clients/xxxxxxxxxxxxx/web_xxxxxxxxxx/administrator/components/com_virtuemart/plugins/vmplugin.php on line 131
Error: Call to a member function load() on null: Call to a member function load() on null
And have a blank page.
Somebody have an idea ?
Joomla 3.9.10
VM 3.4.5 10045
I know that this VM version is not the latest stable, but have upgrade directly from the auto update system (and so I didn't know it wasn't the stable version) since months.
Is there a way to downgrade from the latest stable version ?
Regards
Have you tried to copy the file/s manually via FTP?
I doubt there was an autoupdate to 3.4.5.10045. Who would have put that information on the update server?
If i upgrade manually, it is ok.
And for the auto update, that was for 3.4.3
I have allways perform my update by this way.
Hello, i have upgrade to VM 3.6 just now, and i still have this issue, on another site too.
I cant automatically upgrade extension because Virtuemart bug...
Thanks for help :)
QuoteI cant automatically upgrade extension because Virtuemart bug...
what EXACTLY happens? step by step
I go in the admin panel, at the extensions => upgrade (i am not sure in english, i am in french).
I choose the extension to update, and when i click on Update, i have a blank page.
Now i only have the error "Error: Call to a member function load() on null: Call to a member function load() on null".
So i dont sure that VM. I have put the error to Development to show this message.
But before upgrade to VM 3.6, all worked fine.
Ok .. so u need to find where the 500 error comes from by the normal methods
http://forum.virtuemart.net/index.php?topic=117042.0
http://forum.virtuemart.net/index.php?topic=121692.0
Thanks, but i have nothing in the server error log.
If activate the php developer mode in VM config, nothing change and i didnt see any other message when i try to update an extension...
I wil try to install in local mode to show if problem still here...
This problem is only in admin panel. All work in frontend.
And if i update the extension with manual way, it work.
I am now in PHP 7.2, Joomla 3.9.11 and VM 3.6.0.10113
Did you try this already? Go to your 'tmp' folder in your root directory, search for any remaining (VirtueMart) folders and delete existing ones.
I have the same error: Call to a member function load() on null
in: home/xxxxxxxxxx/domains/xxxxxxxxx/public_html/administrator/components/com_virtuemart/plugins/vmplugin.php:131
:'(
I still haven't found a solution to this problem.... But I don't have it on the other sites. So it's certainly a conflict with another plugin or component, but I don't know which one...
Hi TheFBI, see the attached video: do you also find the error in the same way? Tks
Hi, yes, exactly.
I will put my site in a test server and try to find with desactivate the extensions if i find something.
I have another site with VM and i dont have this problem.
I post here if i find something.
Hello, i searching... actually i have uninstalled all component, but error still here.
If i turn the debug mode to Maximal, i have this error message :
Notice: Undefined offset: 0 in /home/clients/XXXXXXXXXXX/dev_boutique/administrator/components/com_virtuemart/plugins/vmplugin.php on line 131
Error: Call to a member function load() on null: Call to a member function load() on null
If i go in the file vmplugin.php on line 131, i have : vmLanguage::$languages[$tag]->load($fname, $epath, 'en-GB', true, false);
But i dont know more...
What i dont understand is why when i will update another component not of VM, i have an error from VM ?!
If the other extension is loading VmConfig or triggering some VM event, everything is possible.
For that you should say which extensions you use. Anything which makes calculation rules?
Actually, the 2 extensions i have to update is VP One page checkout and Acymailing.
I have the error with both. I dont thing Acymailing have something to do with VM...
Did you try to update manually via Joomla extension manager, core and aio?
Hi thefbi, Tks for your replay.
I also have a test site, on which I did several tests, especially by changing the default language and the php version, with the downgrade up to 5, but without getting any results.
With Firefox's FireBug, looking at the error line, I find this message:
Request URL: https: //www.xxxxxxx.xxx/administrator/index.php? Option = com_installer & view = update
Request method: POST
Remote address: xxx.xxx.147.39: 443
Status code: 500
Version: HTTP / 2.0
Referrer Policy: no-referrer-when-downgrade
I think this 500 error is the cause, I keep doing tests, we keep up to date ;)
Quote from: StefanSTS on October 30, 2019, 21:23:08 PM
Did you try to update manually via Joomla extension manager, core and aio?
Hello, yes with manual update it work. It is only with automatic i have the problem.
I have talking to Milbo yesterday. We will find a solution for this problem.
Hi all, i think I have found the Solution. In Plugins, find and disable Realex_hpp_api (Type vmuserfield). Then, all automatic update work correctly. I can't explain why, I used the "bruteforce" method by disabling the different plugins one at a time. I'd like to know if the solution is valid for the others, and why. Thanks !!
Hello,
Milbo as resloved the problem. Pehaps it is ok in the release right now. I dont have tested yet.
I tested the automatic update just now, and it worked for me.
It should work from now on again like expected.
It might not have been working earlier today. Please empty your caches too.
Stefan
I confirm that all work fine now. Thanks :)
I correct myself: after having disabled the Plugin Realex_hpp_api (type vmuserfileld), just go to the "extension list" and clean the cache of all the extensions. I confirm that after this operation the Plugin can be re-enabled and the extensions can be updated automatically. The error "Call to a member function load () on null" no longer appears and the update operation is regularly performed. Finally I see that on this day when the dead are commemorated, this error also died, and we can commemorate it !!! ;D ;D