Author Topic: Fatal error: Call to a member function getVmUikitParams() on boolean  (Read 3976 times)

pm4698

  • Jr. Member
  • **
  • Posts: 176
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:

Code: [Select]
        // 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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3939
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Fatal error: Call to a member function getVmUikitParams() on boolean
« Reply #1 on: June 03, 2021, 20:05:18 pm »
This is a question for the VMUIkit support team. Don´t You think so ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1682
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Fatal error: Call to a member function getVmUikitParams() on boolean
« Reply #2 on: June 03, 2021, 20:29:39 pm »
I don't know every module, but I think - Your question should be directed to the developer of this module - A friend of mine?
You can find the developer in the description of the XML file of this module.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10803
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Fatal error: Call to a member function getVmUikitParams() on boolean
« Reply #3 on: June 04, 2021, 09:57:08 am »
is the component com_vmuikit installed?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3939
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Fatal error: Call to a member function getVmUikitParams() on boolean
« Reply #4 on: June 04, 2021, 10:09:24 am »
Nice catch GJC  ;D

Quote
DIRECTORY_SEPARATOR . 'com_vmuikit' .

Did not notice that.

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1682
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Fatal error: Call to a member function getVmUikitParams() on boolean
« Reply #5 on: June 04, 2021, 11:12:32 am »
GJC:

 8)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products