Fatal error: Cannot redeclare vmInfo() (previously declared in /administrator/components/com_virtuemart/helpers/config.php:81) in /administrator/components/com_virtuemart/helpers/config.php on line 121
and you are using Product builder extension, we strongly recommend to update your:
\components\com_productbuilder\productbuilder.php
and change this lines
FROM:
- Code: Select all
require(JPATH_PBVM_ADMIN.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'config.php');
TO:
- Code: Select all
if (!class_exists('VmConfig')) require(JPATH_PBVM_ADMIN.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'config.php');
FROM:
- Code: Select all
require(JPATH_PBVM_SITE.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'shopfunctionsf.php');
TO:
- Code: Select all
if (!class_exists('shopFunctionsF')) require(JPATH_PBVM_SITE.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'shopfunctionsf.php');
Without this patch you will never be able to load any 3rd party extensions that load virtuemart configuration before the component initialization. They include some cart modules, plugins that need vm config. (seo plugins, shopper group plugins or similar)
Best regards,
Stan