JSUBMENU-001

JSubMenuHelper::addEntry()

JSubMenuHelper

JSubMenuHelper was removed in Joomla 4. Admin chrome uses the sidebar helper.

JSubMenuHelper::addEntry()HTMLHelper::_('sidebar.addEntry') plus the sidebar view placeholder

Dies at Joomla 3 → 4J3: Works nativelyJ4: Removed — fatalJ6: Removed — fatalBC plugin: no — already dead on J4Patch possible — review itJoomla API

What you will see

  • Class "JSubMenuHelper" not found

Symptoms people search

admin submenu missing

Replace this code

Swap JSubMenuHelper::addEntry() for HTMLHelper::_('sidebar.addEntry') plus the sidebar view placeholder.

Joomla 3

Remove or stop calling this

JSubMenuHelper::addEntry('Courses', 'index.php?option=com_lms', $vName == 'courses');

Joomla 4 / 6

Use this instead

HTMLHelper::_('sidebar.addEntry', 'Courses', 'index.php?option=com_lms', $vName == 'courses');
// Echo the sidebar in the view layout.

How to fix it

  1. 1Replace JSubMenuHelper with sidebar.addEntry.
  2. 2Add the sidebar render in the admin view.

Also known as

JSubMenuHelper::addEntry()

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.