Hi,
After upgrading Joomla to 3.6.3 a few days ago, we are getting an error message "JForm::getInstance could not load file" when we "update the order status".
The 'delete' button next to 'Update Order Status" works fine. We have Virtuemart 3.0.18, which is the current version.
Anyone else have this problem?
Appreciate any help, thanks
JForm::getInstance could not load file can be caused by many different things. Were you previously using Joomla 3.6.2?
Turn on VM debug to see if that helps.
Thanks Jenkinhill,
Yes, I was previously using Joomla 3.6.2 and I updated the joomla package last Friday to the latest version, Joomla 3.6.3.
I checked the logs, but there doesn't seem to be any information indicating the error.
How do you turn on the VM Debug?
Thanks
Update: I found the debugging section in Virtuemart and enabled the debug messages.
I replicated the error by trying to "Update Order Status", but it just returned the original error message and the debug messages seemed to be bypassed and didn't report on this error. Not sure if that information helps.
I'm using: PHP 5.6.25 / Joomla 3.6.3 / Virtuemart 3.0.18
Thanks
OK so now try Joomla debug - set this on Joomla's Global Configuration/System tab
Thanks, I ran the Joomla debug system and replicated the problem again and it returned this message, but I don't really understand what the error could be.
Thanks.
Call stack
# Function Location
1 JApplicationCms->execute()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/index.php:51
2 JApplicationAdministrator->doExecute()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/application/cms.php:261
3 JApplicationAdministrator->dispatch()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/application/administrator.php:152
4 JComponentHelper::renderComponent()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/component/helper.php:380
6 require_once()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/component/helper.php:405
7 JControllerLegacy->execute()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/virtuemart.php:78
8 VirtuemartControllerOrders->updatestatus()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/legacy/controller/legacy.php:702
9 VirtueMartModelOrders->updateOrderStatus()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/controllers/orders.php:190
10 VirtueMartModelOrders->updateStatusForOneOrder()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/models/orders.php:719
11 JPluginHelper::importPlugin()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/models/orders.php:777
12 JPluginHelper::import()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/plugin/helper.php:170
13 plgVmPaymentHeidelpay->__construct()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/libraries/cms/plugin/helper.php:255
14 vmPSPlugin->getVarsToPush()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/plugins/vmpayment/heidelpay/heidelpay.php:34
15 vmPlugin::getVarsToPushByXML()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/plugins/vmpsplugin.php:45
16 JForm::getInstance()
/var/www/vhosts/24/150460/webspace/httpdocs/j25.divinemercy.org/administrator/components/com_virtuemart/plugins/vmplugin.php:201
Do you actually use heidelpay? If not, just unpublish it. I cant find any error here, but I did not test to update an order which used heidelpay.
Yes, I have never seen the error - I always unpublish the payment plugins not required, including heidelpay. There are odd reports of errors being introduced with "upgrading" to Joomla 3.6.3 - and today we have to update to J3.6.4 so I wonder if some of those errors will go away.
Hi Jenkinhill,
I unpublished the payment methods that we don't use and then the "Update Order Status" worked. Strange one!
I updated to Joomla 3.8.4 after that test and it continued to work.
Seems weird that the published, but unused, payment methods would cause such an error. But lesson learnt!
Just want to sincerely thank you for all your help. Your a gentleman!
Take care
Hello
This should actually not happen. Each payment plugin should check if the data used is actually for that plugin. This paymentplugin simply doesn´t have that check and has to be disabled. Disabling unused plugins is anyway a good thing to do. You actually stop extra code from running that is not needed.
regards
Jörgen @ Kreativ Fotografi