Hi there. A friend of mine gave me a module called VMUIKIT off canvas module for joomla and virtuemart. When i am activating the module i get this fatal error:
Fatal error: Call to a member function getVmUikitParams() on boolean in ../modules/mod_onepage_offcanvas/mod_onepage_offcanvas.php on line 279
Code is:
// Include The vmuikit Library
jimport( 'joomla.application.component.model');
JModelLegacy::addIncludePath (JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_vmuikit' . DIRECTORY_SEPARATOR . 'models');
$vmuikitmodel = JModelLegacy::getInstance('Vmuikits', 'VmuikitModel');
$UikitParams = $vmuikitmodel->getVmUikitParams();
And line 279 is the last line of the attached module.
I use php 5.6.40 (I know i have to upgrade), Joomla 3.9.27 and VM 3.8.8
Thank you in advance