News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#1
Virtuemart Development and bug reports / Re: Patcher 4.8.10: "Cannot ac...
Last post by kess - November 26, 2026, 12:42:07 PM
Hello,
If a patch is officially stated on the website to be compatible with a specific range of versions, it should be tested against those versions. This cannot be merely a theoretical claim.

Regarding the technical side, I am reporting what I have observed in the file config.php, along with what I believe to be the cause of the issue.

Milbo, the author of that code, should provide an explanation and, if necessary, a fix.

Thank you.
#2
3rd party extension / Re: Is there still demand for ...
Last post by Jumbo! - November 26, 2026, 11:02:30 AM
Quote from: andrai2 on November 25, 2026, 21:58:13 PMI am interested.

Please cast your vote above.

You cannot view this attachment.
#3
Virtuemart Development and bug reports / Re: Patcher 4.8.10: "Cannot ac...
Last post by Ghost - November 26, 2026, 08:44:57 AM
I don't think old versions are actively tested, the changes are theoretical. Anyway the code here is wrong, property_exists() is not the right thing to use because it doesn't consider visibility. Can use isset() instead. Closure or Reflection can be used if the property actually needs to be set regardless of visibility.
#4
Sorry was also being applied to VirtueMart 4.6.4 11226 so used the hotfix "if your VM version is at least VM4.6".

I note MySite.guru's Preflight tool claims the alternative "if your VM version is lower than VM4.6" is compatible with PHP7.1.

Is PHP7 compatibility the only difference between the two?
#5
Appears the hotfix patcher and update package to 4.8.10 is not compatible with PHP7.4.  The documentation still says VirtueMart has a minimum PHP of 5.3.10.

I installed this on a small low traffic site first and was immediately inaccessible.  The access_log recorded a 500 error but no entry in error_log or the PHP error log.  I restored, enabled Joomla (3.10.12) debug and got the following:

===
syntax error, unexpected '|', expecting ';' or '{'

Call stack      
#   Function   Location
1   ()   JROOT/administrator/components/com_virtuemart/helpers/vrequest.php:150
2   VirtueMart\Composer\Autoload\includeFile()   JROOT/administrator/components/com_virtuemart/vendor/composer/ClassLoader.php:334
3   VirtueMart\Composer\Autoload\ClassLoader->loadClass()   
4   spl_autoload_call()   JROOT/administrator/components/com_virtuemart/helpers/vmlanguage.php:75
5   vmLanguage::initialise()   JROOT/administrator/components/com_virtuemart/helpers/config.php:484
6   VmConfig::loadConfig()   JROOT/plugins/system/vponepagecheckout/cart/helper.php:69
7   VPOPCHelper->__construct()   JROOT/plugins/system/vponepagecheckout/cart/helper.php:105
8   VPOPCHelper::getInstance()   JROOT/plugins/system/vponepagecheckout/vponepagecheckout.php:69
9   PlgSystemVPOnePageCheckout->onAfterRoute()   JROOT/libraries/joomla/event/event.php:70
10   JEvent->update()   JROOT/libraries/joomla/event/dispatcher.php:160
11   JEventDispatcher->trigger()   JROOT/libraries/src/Application/BaseApplication.php:108
12   Joomla\CMS\Application\BaseApplication->triggerEvent()   JROOT/libraries/src/Application/CMSApplication.php:1190
13   Joomla\CMS\Application\CMSApplication->route()   JROOT/libraries/src/Application/SiteApplication.php:796
14   Joomla\CMS\Application\SiteApplication->route()   JROOT/libraries/src/Application/SiteApplication.php:218
15   Joomla\CMS\Application\SiteApplication->doExecute()   JROOT/libraries/src/Application/CMSApplication.php:225
16   Joomla\CMS\Application\CMSApplication->execute()
===

I asked ChatGPT and came back with it requiring PHP8 minimum and in /administrator/components/com_virtuemart/helpers/vrequest.php suggested changing:
public static function filterCmd(mixed $name): string|false {with
public static function filterCmd($name) {Once saved it worked a treat.

Short term can you confirm this is the only change in the hotfix requiring full PHP7.4 compatibility and when the update package is safe to install.

I also just checked the hotfix in MySite.guru's brand new Preflight tool which confirms the same plus suggests admin/files/paypal_checkout/helpers/response.php has a union type compatibility issue with:
static function captureOrderByOrderId(object $plugin, int|string|null &$render): void {
Many thanks.
#6
VirtueMart 4.8.10 11708

Small templating issue so not urgent.
The Manual Button in the Main Menu in the Admin area has incorrect href.

Currently points to https://docs.virtuemart.net/manual/general-concepts.html which results in a 404.
The correct href should be https://docs.virtuemart.net/manual/general-concepts with no ".html" at the end.

Extremely low down on the list of bug priorities but has been this way for ages.  :)
#7
3rd party extension / Re: Is there still demand for ...
Last post by andrai2 - November 25, 2026, 21:58:13 PM
I am interested.
#8
Virtuemart Development and bug reports / Patcher 4.8.10: "Cannot access...
Last post by kess - November 25, 2026, 20:24:53 PM
Hello,

after installing the security patcher (com_virtuemart_patcher, version 4.8.10) on a shop running VirtueMart 4.4.8 (Joomla 5.4), the VirtueMart backend stops working with:

Cannot access protected property VmConfig::$execTrigger

The same fatal error also occurs on the frontend: components/com_virtuemart/virtuemart.php:23.

The patched entry files (components/com_virtuemart/virtuemart.php and administrator/components/com_virtuemart/virtuemart.php) start with VmConfig::$execTrigger = true;. In VirtueMart 4.4.8 and 4.4.10, administrator/components/com_virtuemart/helpers/config.php declares the property as static protected $execTrigger = true;.

The patcher manifest says it is meant for releases from 4.0.0 up to below 4.8.10. The second package (HOTFIX_com_virtuemart_patcher_vm3.6_vm6.4_vers4.8.10, patcher 4.8.11) guards the line with property_exists(), but I get the same error on 4.4.x.

Could you please confirm which VirtueMart 4 releases the patch has been tested on?

Thank you.
#9
3rd party extension / Re: Is there still demand for ...
Last post by Jumbo! - November 25, 2026, 17:44:46 PM
Quote from: StefanSTS on November 25, 2026, 13:30:40 PMNo, I am happy with Merchant, Smart and Neoteric.
Renewing soon.
Will update to VM 5 when it is ready.
Sure going for Joomla 6 in October 2027.

Have a good one
Stefan

Ok. Thanks Stefan. :)
#10
3rd party extension / Re: Is there still demand for ...
Last post by StefanSTS - November 25, 2026, 13:30:40 PM
No, I am happy with Merchant, Smart and Neoteric.
Renewing soon.
Will update to VM 5 when it is ready.
Sure going for Joomla 6 in October 2027.

Have a good one
Stefan