Skip to main content

0 Call to a member function getType() on null

5 years 5 months ago #333527 by Devil
-- url of the page with the problem -- : www.kimmyswebshop.be/winkelwagen/checkout
-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27
-- PHP version -- : 7.4.16
-- Browser(s) name and version -- : Chrome 91.0.4472.77
-- Error-message(debug-mod must be tuned on) -- : 0
Call to a member function getType() on null

Hello,

in the webshop I get the following error code:
Code:
0 Call to a member function getType() on null


error report on maximum gives this result
Code:
Call stack # Function Location 1 () JROOT/plugins/system/GoogleAnalytics/GoogleAnalytics.php:64 2 plgSystemGoogleAnalytics->onAfterRender() JROOT/libraries/joomla/event/event.php:70 3 JEvent->update() JROOT/libraries/joomla/event/dispatcher.php:160 4 JEventDispatcher->trigger() JROOT/libraries/src/Application/BaseApplication.php:108 5 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT/components/com_hikashop/controllers/checkout.php:231 6 checkoutController->showblock() JROOT/components/com_hikashop/controllers/checkout.php:327 7 checkoutController->submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:710 8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2280 9 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:92 10 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402 11 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:203 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

can anyone advise me what to do as I can't find it myself.


thanks in advance, Dennis

Please Log in or Create an account to join the conversation.

5 years 5 months ago #333529 by nicolas
Hi,

The error comes from the plugin GoogleAnalytics.
You'll have to check with the developer of that plugin what should be done (maybe you need to update the plugin, or maybe the developer needs to add a patch to the plugin).
In the mean time, you can disable that plugin via the Joomla plugins manager so that the checkout can work.
The following user(s) said Thank You: Devil

Please Log in or Create an account to join the conversation.

5 years 5 months ago #333559 by Devil
Nicolas,

Thanks! This solved the problem. :) :)

We are also looking at how we can update the analytics.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum