1. Gunnar
  2. Commercial Templates
  3. Wednesday, 10 January 2024
  4.  Subscribe via email
Situation:

  • Freshly installed Joomla 5.0.1, unaltered after installation.
  • The default Cassiopeia Template works as expected.
  • The Nina Template is installed and set as default.
  • No errors in the admin console.
  • When accessing the site, I now get an error message: "Cannot access protected property Joomla\CMS\Menu\MenuItem::$params".
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
The $menu->params used on line 41 in index.php was deprecated in Joomla 3.7 and gives an exception in Joomla 4.0+.

I thought all templates were Joomla 5 compatible, but I obviously got that wrong.

I changed it to $menu->getParams() and no longer get an error message when browsing the site. On the other hand, I don't get anything else either; I get a completely blank page.

Does this mean I must revert to Joomla 3 to use my template?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

Could I ask you to allow us access to your extensions manager so we can examine this issue further? As long as you have the Behaviour - Backward Compatibility plugin enabled, your template should work with Joomla 5 without any issues.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!