I have a websitesite in Joomla3 with the Spectrum template. But when i update the website to Joomla 428 it gives directly an error:
0
Cannot access protected property Joomla\CMS\Menu\MenuItem::$params
I am sure the problem is the template. When i select all pages to the finance template there is no problem.
How can i solve this problem?
this isthe website: https://www.health-alert.nl/
when you go in the menu to Wie zijn Wij of cursusinformatie you get the error.
It has PHP version8.
Spectrum tamplate for Joomla 4
14 replies
I tried also with PHP versie 7.4 with no result!
Do i get any response?
Hi there!
Sorry for your issue.
Would you please check if you have followed this and all of your components are Joomla 4 compatible and up to dated?
https://www.joomshaper.com/blog/how-to-update-your-site-to-joomla-4
Best Regards
Hello,
I checked the link with the requirements. i have everything done!
Like i wrote in my story. with the template Finance the website is working fine.
But the menu items with the template Spectrum are giving an error!
So the problem is not the website but the template!
Is there anybody with somepossible solutions? i have this problem now 5 days with no solution.. :(
? no suggestions ? I am not so technical.. what to do?
the pages with the Spectrum template = crash..
other pages with another templat are going very well!!
Hi Leon,
sorry for delay, we have here hell in last days,
please share access to admin area, I will try
the website itself is working fine, only the template isn't
Fixed. Thanks for access, and big sorry for the delay.
I had to fix those files:
- /templates/shaper_spectrum/html/mod_login/default.php
- /templates/shaper_spectrum/html/mod_menu/default.php
Please make backup of template files, in case of...
Thanks, i will!
Were there some bad codes?
Thank you for the solution!
Now php code is OK.
It's becuase was changes in J4 core compare to J3 core. WordPress users have easier life than we have ;/
Is this php code also included in the latest version of Spectrum? I migrated a site this morning (J3 => J4, php 8.1), installed the latest Spectrum version and had the same problem with mod_menu. The mod_menu files were updated. I solved the problem (temporary) by disabling the override for mod_menu.
best regards Marie-Anne
@Marie, which version you installed 2.0.1 or older?
@Paul, I installed version 2.0.1 according to the extensions overview.