Spectrum Tamplate For Joomla 4 - Question | JoomShaper

Spectrum Tamplate For Joomla 4

L

Leon

Template 1 year ago

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.

0
14 Answers
L
Leon
Accepted Answer
1 year ago #106298

I tried also with PHP versie 7.4 with no result!

0
L
Leon
Accepted Answer
1 year ago #106756

Do i get any response?

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #106758

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

0
L
Leon
Accepted Answer
1 year ago #106759

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!

0
L
Leon
Accepted Answer
1 year ago #106857

Is there anybody with somepossible solutions? i have this problem now 5 days with no solution.. :(

0
L
Leon
Accepted Answer
1 year ago #107478

? 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!!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #107483

Hi Leon,

sorry for delay, we have here hell in last days,

please share access to admin area, I will try

0
L
Leon
Accepted Answer
1 year ago #107487

the website itself is working fine, only the template isn't

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #107542

Fixed. Thanks for access, and big sorry for the delay.

I had to fix those files:

  1. /templates/shaper_spectrum/html/mod_login/default.php
  2. /templates/shaper_spectrum/html/mod_menu/default.php

Please make backup of template files, in case of...

0
L
Leon
Accepted Answer
1 year ago #107568

Thanks, i will! Were there some bad codes?

Thank you for the solution!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #107570

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 ;/

0
M
marie-anne
Accepted Answer
9 months ago #121810

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 9 months ago #121942

@Marie, which version you installed 2.0.1 or older?

0
M
marie-anne
Accepted Answer
9 months ago #122065

@Paul, I installed version 2.0.1 according to the extensions overview.

0