News:

Support the VirtueMart project and become a member

Main Menu

An error has occurred. 0 Call to undefined function vmError()

Started by daddio, May 23, 2020, 06:15:32 AM

Previous topic - Next topic

daddio

Running Joomla! 3.9.18 and VirtueMart 3.8.2 10325.
Any article I try to save gives me the error. It will save my content but still dumps me out of the article and leaves it locked.

Any idea what is causing it?

Backtrace:
/home/singingt/staging/3/administrator/components/com_virtuemart/helpers/vmlanguage.php:267
#0 /home/singingt/staging/3/administrator/components/com_virtuemart/helpers/vmlanguage.php(94): vmLanguage::setLanguage(false, false)
#1 /home/singingt/staging/3/components/com_virtuemart/router.php(948): vmLanguage::setLanguageByTag(false, false, false)
#2 /home/singingt/staging/3/components/com_virtuemart/router.php(371): vmrouterHelper::getInstance()
#3 /home/singingt/staging/3/libraries/src/Component/Router/RouterLegacy.php(105): virtuemartParseRoute(Array)
#4 /home/singingt/staging/3/libraries/src/Router/SiteRouter.php(437): Joomla\CMS\Component\Router\RouterLegacy->parse(Array)
#5 /home/singingt/staging/3/libraries/src/Router/Router.php(482): Joomla\CMS\Router\SiteRouter->parseSefRoute(Object(Joomla\CMS\Uri\Uri))
#6 /home/singingt/staging/3/libraries/src/Router/Router.php(227): Joomla\CMS\Router\Router->_parseSefRoute(Object(Joomla\CMS\Uri\Uri))
#7 /home/singingt/staging/3/libraries/src/Router/SiteRouter.php(138): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri))
#8 /home/singingt/staging/3/plugins/content/pingomatic/pingomatic.php(159): Joomla\CMS\Router\SiteRouter->parse(Object(Joomla\CMS\Uri\Uri))
#9 /home/singingt/staging/3/plugins/content/pingomatic/pingomatic.php(197): plgContentPingomatic->findItemidNewRouter('index.php?optio...', Object(Joomla\CMS\Router\SiteRouter))
#10 /home/singingt/staging/3/plugins/content/pingomatic/pingomatic.php(279): plgContentPingomatic->routeArticleToSefMenu(162, '69', '*', Object(Joomla\CMS\Table\Content))

#11 /home/singingt/staging/3/libraries/joomla/event/event.php(70): plgContentPingomatic->onContentAfterSave('com_content.art...', Object(Joomla\CMS\Table\Content), false, Array)
#12 /home/singingt/staging/3/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array)
#13 /home/singingt/staging/3/libraries/src/MVC/Model/AdminModel.php(1292): JEventDispatcher->trigger('oncontentafters...', Array)
#14 /home/singingt/staging/3/administrator/components/com_content/models/article.php(676): Joomla\CMS\MVC\Model\AdminModel->save(Array)
#15 /home/singingt/staging/3/libraries/src/MVC/Controller/FormController.php(775): ContentModelArticle->save(Array)
#16 /home/singingt/staging/3/libraries/src/MVC/Controller/BaseController.php(710): Joomla\CMS\MVC\Controller\FormController->save()
#17 /home/singingt/staging/3/administrator/components/com_content/content.php(21): Joomla\CMS\MVC\Controller\BaseController->execute('apply')
#18 /home/singingt/staging/3/libraries/src/Component/ComponentHelper.php(402): require_once('/home/singingt/...')
#19 /home/singingt/staging/3/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/singingt/...')
#20 /home/singingt/staging/3/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
#21 /home/singingt/staging/3/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch()
#22 /home/singingt/staging/3/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\AdministratorApplication->doExecute()
#23 /home/singingt/staging/3/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute()
#24 {main}

GJC Web Design

hard to understand why the VM router would be called while saving a Joomla article

Try disabling the plgContentPingomatic  plugin as a test
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

daddio

And that seemed to do the trick. I disabled the plugin and now I can save articles..  ::)

Thank you GJC!

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation