VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: MAD King on August 21, 2023, 21:53:49 PM

Title: Payments, Paypal Update Error
Post by: MAD King on August 21, 2023, 21:53:49 PM
Getting these errors when trying to update from version 4.0.22 to version 4.2.2:

QuoteAn error has occurred.
0 Undefined constant "VMPATH_ROOT"
Call stack
#   Function   Location
1   ()   JROOT\plugins\vmpayment\paypal\paypal.php:25
2   require_once()   JROOT\libraries\src\Extension\ExtensionManagerTrait.php:217
3   Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem()   JROOT\libraries\src\Extension\ExtensionManagerTrait.php:160
4   Joomla\CMS\Application\CMSApplication->loadExtension()   JROOT\libraries\src\Extension\ExtensionManagerTrait.php:99
5   Joomla\CMS\Application\CMSApplication->bootPlugin()   JROOT\libraries\src\Plugin\PluginHelper.php:232
6   Joomla\CMS\Plugin\PluginHelper::import()   JROOT\libraries\src\Plugin\PluginHelper.php:192
7   Joomla\CMS\Plugin\PluginHelper::importPlugin()   JROOT\administrator\components\com_installer\src\Model\UpdateModel.php:595
8   Joomla\Component\Installer\Administrator\Model\UpdateModel->preparePreUpdate()   JROOT\administrator\components\com_installer\src\Model\UpdateModel.php:351
9   Joomla\Component\Installer\Administrator\Model\UpdateModel->update()   JROOT\administrator\components\com_installer\src\Controller\UpdateController.php:58
10   Joomla\Component\Installer\Administrator\Controller\UpdateController->update()   JROOT\libraries\src\MVC\Controller\BaseController.php:678
11   Joomla\CMS\MVC\Controller\BaseController->execute()   JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
12   Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()   JROOT\libraries\src\Component\ComponentHelper.php:361
13   Joomla\CMS\Component\ComponentHelper::renderComponent()   JROOT\libraries\src\Application\AdministratorApplication.php:143
14   Joomla\CMS\Application\AdministratorApplication->dispatch()   JROOT\libraries\src\Application\AdministratorApplication.php:186
15   Joomla\CMS\Application\AdministratorApplication->doExecute()   JROOT\libraries\src\Application\CMSApplication.php:293
16   Joomla\CMS\Application\CMSApplication->execute()   JROOT\administrator\includes\app.php:61
17   require_once()   JROOT\administrator\index.php:32

J4.3.3 and VirtueMart 4.2.0 10905
Title: Re: Payments, Paypal Update Error
Post by: ViPeS on August 21, 2023, 22:53:29 PM
You would decide on your VM and J versions!