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)