0 Call To A Member Function Get() On Null - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

0 Call To A Member Function Get() On Null

CE

Chris Ifeanyi Ezeh

Helix Framework 2 years ago

i get this error with shaper_qubic template and helix 3 last version

Call stack

Function Location

1 () JROOT/modules/mod_menu/tmpl/default_url.php:51 2 require() JROOT/templates/shaper_qubic/html/mod_menu/default.php:83 3 require() JROOT/modules/mod_menu/mod_menu.php:30 4 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52 5 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55 6 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:281 7 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:161 8 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Cache/Controller/CallbackController.php:132 9 Joomla\CMS\Cache\Controller\CallbackController->get() JROOT/libraries/src/Helper/ModuleHelper.php:641 10 Joomla\CMS\Helper\ModuleHelper::moduleCache() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:93 11 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50 12 Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:556 13 Joomla\CMS\Document\HtmlDocument->getBuffer() JROOT/libraries/src/Document/HtmlDocument.php:848 14 Joomla\CMS\Document\HtmlDocument->_renderTemplate() JROOT/libraries/src/Document/HtmlDocument.php:633 15 Joomla\CMS\Document\HtmlDocument->render() JROOT/libraries/src/Application/CMSApplication.php:1017 16 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:714 17 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:299 18 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61 19 require_once() JROOT/index.php:32

and when i disable mod menu i get this error

Warning: Attempt to read property "layout" on null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 324

Warning: Trying to access array offset on value of type null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 326

Warning: Attempt to read property "attr" on null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 327

Warning: Trying to access array offset on value of type null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 327

Warning: Attempt to read property "moduleId" on null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 328

Warning: Attempt to read property "layout" on null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 324

Warning: Trying to access array offset on value of type null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 326

Warning: Attempt to read property "attr" on null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 327

Warning: Trying to access array offset on value of type null in /home/domain.com/domains/mydomain.com/public_html/eurode4/plugins/system/helix3/core/classes/menu.php on line 327

0
12 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #97988

Fixed.

It theory it should work also on PHP 8.0.x - if it will be, then you can check with PHP 8.1

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #97924

Hi Chris,

Is domain OK? I see Wordpress there, not Joomla.

120.jpg

BTW

What PHP version you have set?

0
CE
Chris Ifeanyi Ezeh
Accepted Answer
2 years ago #97951

we put the website on test domain for testing i sent all the details on private content sir .. thank you

0
CE
Chris Ifeanyi Ezeh
Accepted Answer
2 years ago #97962

What PHP version you have set? 8.1

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #97964

That template make not work with PHP 8.1 yet. Please by now switch to PHP 7.4 - then I will let you know.

0
CE
Chris Ifeanyi Ezeh
Accepted Answer
2 years ago #97968

switched with php 7.4 sir .done but still the same error

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #97973

Thanks, but I have to ask our developer becuase you have weird message even after Helix3 plugin update.

0
CE
Chris Ifeanyi Ezeh
Accepted Answer
2 years ago #97974

... sure waiting :)

0
CE
Chris Ifeanyi Ezeh
Accepted Answer
2 years ago #97992

Yes it is working now in Php 8.1 thank you so much

0
GP
Gianluca Pantaleo
Accepted Answer
2 years ago #131713

Hello, same problem here, how was the fix for the other user who is working in php 8.1, please?Thans.

I get this error with shaper_qubic template and helix 3 last version on joomla 4 and PHP 8.1:

1 () JROOT/modules/mod_menu/tmpl/default_component.php:59 2 require() JROOT/templates/shaper_qubic/html/mod_menu/default.php:83 3 require() JROOT/modules/mod_menu/mod_menu.php:30 4 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52 5 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55 6 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:281 7 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:161 8 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99 9 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50 10 Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:566 11 Joomla\CMS\Document\HtmlDocument->getBuffer() JROOT/libraries/src/Document/HtmlDocument.php:853 12 Joomla\CMS\Document\HtmlDocument->_renderTemplate() JROOT/libraries/src/Document/HtmlDocument.php:638 13 Joomla\CMS\Document\HtmlDocument->render() JROOT/libraries/src/Application/CMSApplication.php:1025 14 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:724 15 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:298 16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61 17 require_once() JROOT/index.php:32

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #131746
  1. download Helix3 template or helix3 quickstart package
  2. copy this file: templates/shaper_helix3/html/mod_menu/default.php
  3. replace/override file inside: templates/shaper_qubic/html/mod_menu/
0
GP
Gianluca Pantaleo
Accepted Answer
2 years ago #131928

Hi, thank for your support. I tried to replace file but I got the same errore. Otherwise if I rename the folder "mod_menu" in "_mod_menu" it works.

0