News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Error: Class 'vRequest' not found

Started by peter.forensys, November 14, 2019, 14:15:32 PM

Previous topic - Next topic

peter.forensys

Hi,

I need some help. I updated Virtuemart from 3.4.2 to the latest 3.6.8.
Now If I go to the Components ->  VirtueMart AIO menu item in Joomla, I get this error:

"An error has occurred.
0 Class 'vRequest' not found
/web/salibafiligree/dev/administrator/components/com_virtuemart_allinone/virtuemart_allinone.php:35"

And below that there is a call stack table. I attached photo about it.

I also tried to update by installing the latest version which I downloaded from virtuemart.net, but no change.


System information:

Joomla version: 3.9.13
PHP Version: 7.3.6

GJC Web Design

Explained so many times

there IS NOTHING @ the VirtueMart AIO menu item - it is just there to make the updater work
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

peter.forensys

Hi.

Thanks for answer. So the error message is normal. But before updating, with the VM 3.4.2 the menu item is working, and shows a table of installed plugins, and there is a button "Update VM plugin tables".  Altough if I press this button, I get the same error.  :)

GJC Web Design

Quoteshows a table of installed plugins

Hmmm - so do I  - so sorry  - no idea how long that has been there .. I never click that menu

But I don't get the error either on

VirtueMart 3.6.8 10197

try reinstalling the VM core and AIO again
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

It is there since many years, GJC.

I dont get the error. Did you update the aio also?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

peter.forensys

If I update only Virtuemart component, I get the error too.

GJC Web Design

why do u ONLY update the core?

the core and AIO are required to be updated together
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

razor7

Same error here VM 3.6.8 j! 3.9.13 Upgraded from really old version j! 3.6.5 and VM 3.0.14. Solved it by installing new AIO, then uninstalling it, and then installing it again, after that, the AIO admin menu works!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

peter.forensys

Quote from: GJC Web Design on November 19, 2019, 15:33:30 PM
why do u ONLY update the core?

the core and AIO are required to be updated together

I updated AIO too.

peter.forensys

Quote from: razor7 on November 22, 2019, 14:33:19 PM
Same error here VM 3.6.8 j! 3.9.13 Upgraded from really old version j! 3.6.5 and VM 3.0.14. Solved it by installing new AIO, then uninstalling it, and then installing it again, after that, the AIO admin menu works!

Hmm, this is great. But is it safe to delete AIO?

Studio 42

Removing the AIO compoonent do not remove the plugin and modules.
So you can remove and install, but i think that a simple update using the zip file should work too.
I had many time similar problem(with aio or virtuemart) and install + update after have solve it.

Milbo

I worked on that part, that is the reason.

Why all the trouble? It started with tiny changes.

The old vmconfig.php file loaded the vmconfig itself. This was not good. It was not possible to include the config, witout loading it. This leaded to the problem that 3rd party plugins just included the file, but did not executed the loadConfig (despite the manual, btw).

Later I added an extra class, which just registers all VM classes and an extra class initialises the vm language system.

The complex shit started then. It is not possible to set the right language before the router. So system plugins should load the config without initialising the language.

On the other hand, we used a lot ourself the construction, that we included the config only, when the config is not already included. Now we check if the language got set to decide if we must load the language. So in vm3.6.10 it should work again.

So first we had problems with plugins using the vm classes, but did not execute the vmloadConfig.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/