Call to undefined method VmConfig::isSiteByApp() after update to VM 3.8.2

Started by stawebnice, June 04, 2020, 09:36:29 AM

Previous topic - Next topic

stawebnice

Hi,

after updating VM from 3.6.10 to 3.8.2 I always get white screen with this error:
Call to undefined method VmConfig::isSiteByApp()

Virtuemart gets updated and seems to work then

it happened on all of 10 eshops I have already updated.

Any idea why is it happening?

pinochico

It is definitely not possible to recognize them from this message.

Call Petro please :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Milbo

When you install Virtuemart, there is always a note about the used path. Something like

Used source path /home/stawebnice/public_html

So when this points to the old vm files, then there is somehow a problem for the vm installer to find the right path. This usually happens, when another plugin (usually a system or router plugin) initialises the VmConfig on its own, then all the ClassLoader paths point to the old vm.

In this case you shoud just install VM again over the old installation. Else you have new files, but old db setup.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/