News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Fatal error: Class VirtuemartControllerPlugin cannot extend from interface JCont

Started by sealion, August 15, 2014, 18:41:06 PM

Previous topic - Next topic

sealion

In 2.9.9  Fatal error: Class VirtuemartControllerPlugin cannot extend from interface JController

In administrator/components/com_virtuemart/controllers/plugin.php line 28

class VirtuemartControllerPlugin extends JController


should be

class VirtuemartControllerPlugin extends JControllerLegacy


or maybe

class VirtuemartControllerPlugin extends VmController

Milbo

grmblfix,
how could it happen, that we did not detected it for so such a long time? Thank you.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

of course solved with

if(!class_exists('VmController'))require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'vmcontroller.php');

class VirtuemartControllerPlugin extends VmController
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/