Error On Template - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Error On Template

DL

Dominique Lopera

Template 2 years ago

I have migrate from Joomla 3.10 to Joomla 4.4 i'm using Newsberg templates withs PHP 8.2 and i have this error:

Error: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

at /var/www/html/templates/newsberg/html/mod_menu/default_url.php:47 at require() (/var/www/html/templates/newsberg/html/mod_menu/default.php:78) at require('/var/www/html/templates/newsberg/html/mod_menu/default.php') (/var/www/html/modules/mod_menu/mod_menu.php:30) at include('/var/www/html/modules/mod_menu/mod_menu.php') (/var/www/html/libraries/src/Dispatcher/ModuleDispatcher.php:52) at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() (/var/www/html/libraries/src/Dispatcher/ModuleDispatcher.php:55) at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() (/var/www/html/libraries/src/Helper/ModuleHelper.php:281) at Joomla\CMS\Helper\ModuleHelper::renderRawModule() (/var/www/html/libraries/src/Helper/ModuleHelper.php:161) at Joomla\CMS\Helper\ModuleHelper::renderModule() (/var/www/html/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99) at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() (/var/www/html/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50) at Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() (/var/www/html/libraries/src/Document/HtmlDocument.php:565) at Joomla\CMS\Document\HtmlDocument->getBuffer() (/var/www/html/libraries/src/Document/HtmlDocument.php:833) at Joomla\CMS\Document\HtmlDocument->_renderTemplate() (/var/www/html/libraries/src/Document/HtmlDocument.php:637) at Joomla\CMS\Document\HtmlDocument->render() (/var/www/html/libraries/src/Application/CMSApplication.php:1025) at Joomla\CMS\Application\CMSApplication->render() (/var/www/html/libraries/src/Application/SiteApplication.php:724) at Joomla\CMS\Application\SiteApplication->render() (/var/www/html/libraries/src/Application/CMSApplication.php:298) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/html/includes/app.php:61) at require_once('/var/www/html/includes/app.php') (/var/www/html/index.php:31)

0
13 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #134984

HI Dominique,

indeed current version of your template (I am not talking about Helix itself) do not fully support PHP 8.2 - but it's very easy to fix it.

  1. Download Helix Ultimate quickstart v2.0.16 or template package
  2. Unzip it.
  3. Copy this file: templates/shaper_helixultimate/html/mod_menu/default.php
  4. And using FTP upload here & override that one file: templates/newsberg/html/mod_menu/default.php

(tip 2 after 1) In some cases - you have to override also files from /features/ folder

0
DL
Dominique Lopera
Accepted Answer
2 years ago #134993

Noy i have this problem, can you help me, please?

InvalidArgumentException: icon::print_popup not found.

at /var/www/html/libraries/src/HTML/HTMLHelper.php:141 at Joomla\CMS\HTML\HTMLHelper::_() (/var/www/html/templates/newsberg/html/com_content/article/default.php:227) at include('/var/www/html/templates/newsberg/html/com_content/article/default.php') (/var/www/html/libraries/src/MVC/View/HtmlView.php:415) at Joomla\CMS\MVC\View\HtmlView->loadTemplate() (/var/www/html/libraries/src/MVC/View/HtmlView.php:203) at Joomla\CMS\MVC\View\HtmlView->display() (/var/www/html/components/com_content/src/View/Article/HtmlView.php:244) at Joomla\Component\Content\Site\View\Article\HtmlView->display() (/var/www/html/libraries/src/MVC/Controller/BaseController.php:660) at Joomla\CMS\MVC\Controller\BaseController->display() (/var/www/html/components/com_content/src/Controller/DisplayController.php:121) at Joomla\Component\Content\Site\Controller\DisplayController->display() (/var/www/html/libraries/src/MVC/Controller/BaseController.php:693) at Joomla\CMS\MVC\Controller\BaseController->execute() (/var/www/html/libraries/src/Dispatcher/ComponentDispatcher.php:143) at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() (/var/www/html/components/com_content/src/Dispatcher/Dispatcher.php:56) at Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch() (/var/www/html/libraries/src/Component/ComponentHelper.php:361) at Joomla\CMS\Component\ComponentHelper::renderComponent() (/var/www/html/libraries/src/Application/SiteApplication.php:208) at Joomla\CMS\Application\SiteApplication->dispatch() (/var/www/html/libraries/src/Application/SiteApplication.php:249) at Joomla\CMS\Application\SiteApplication->doExecute() (/var/www/html/libraries/src/Application/CMSApplication.php:293) at Joomla\CMS\Application\CMSApplication->execute() (/var/www/html/includes/app.php:61) at require_once('/var/www/html/includes/app.php') (/var/www/html/index.php:32)

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

If you have different messages after, share like last time.

But it should be better after tip #1 and Tip#2

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

Joomla 4 - don't have print icon anymore probably that's why you see that error.


Are you 100% sure that you updated Newsberg template? We have J4 version. Download and Install Newsberg v2.0.0 - if you forgot to do that.

0
DL
Dominique Lopera
Accepted Answer
2 years ago #135000

I update the template befote udate joomla, that could be the problem?

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

No, so you claim that you have template v2.0?

If yes, please share access (Super User), I will fix that problem.

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

default_UNZIP.zip

As quick one, please try that file, download & unzip

then upload & override that file: templates/newsberg/html/com_content/article/default.php

It may or not help. But I am too tired to think today, late hour.

0
DL
Dominique Lopera
Accepted Answer
2 years ago #135007

Aactually is a local issue, so i can't give you access because it's not public, but, this is the prove that i have the 2.0 version:

Image

and i have done the override thing that you told and doesn't work, it posible that could be a override template?

about the connection, let me ask about it, that can help, thanks.

0
DL
Dominique Lopera
Accepted Answer
2 years ago #135009

Hello, a have put a public site and have the same error, i let you the acces in Hidden Content.

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

it posible that could be a override template?

Yes, that's why.

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

Check now.

0
DL
Dominique Lopera
Accepted Answer
2 years ago #135184

Can you tell me please what you did? because i have another site with the same issue... can you tell me please?

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

this same template or different one?

0