Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 08h 21m 17s
Claim 50% off
Solved Templates

Unable to add URL menu item with logo image

Asked by Petra 2 years ago Last activity 2 years ago

Hi,

I am using the Manufacturer template at http://neumanel.bizy-bee.cz/

I would like to add logo in the middle, so I moved the homepage menu item into hidden menu and created a URL menu item with the image, but when I do it, the whole site collapses with this error: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

Please, can you tell me how to fix it?

Petra

Accepted answer

Marked as the solution
Ofi Khan Staff

I have modified this file:

templates/manufacturer/html/mod_menu/default_url.php

Please check it now.

11 more replies

Pavel

so I moved the homepage menu item into hidden menu

Hi. I think this is the reason. Return it back

Petra Asked this

Hi Pavel,

no, I tested that. It crashes even when the homepage menu item is in main menu and published ( it crashes when I add URL type menu item and publish it). Regardless - it should work even if default homepage menu item is in different menu that has no impact on website.

Ofi Khan Staff

Hello Petra

I have published this menu item. It works fine. Please share a screenshot of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur

https://prnt.sc/UIclZqOwl3R-

Best regards

Petra Asked this

Hi Ofi Khan,

the problem seems to be the image. No matter if I add image (logo) to the menu item which is URL or SP page builder page, it makes the site crash.

Petra

Ofi Khan Staff

I do not understand the issue. When does it crash? Please share necessary screenshots of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur

Petra Asked this

Hi Ofi Khan,

I mean to add image to menu item like this:

Petra Asked this

This totally breaks the site no matter which type of menu item you select.

Petra Asked this

Hi Ofi Khan,

it's working, thank you!

Petra

Ofi Khan Staff

You are welcome 😊

Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

I have a humble request too. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

Petra Asked this

Hi Ofi Khan,

sure, no problem.
From my point of view SP page builder is great and the most missed functionality for me is ability to add different sizes of images for backgrounds and images for mobile and tablet. This is something that I have to bypass by adding extra css rules and it could be done easier using SP Page builder the same way Drupal does it.

Thank you!

Petra

Log in to reply.