No Code Attached Yet
avatar standa-bl
standa-bl
4 Aug 2026

When trying to edit a component container in your own admin menu, the message: "Call to a member function load() on null" is returned. The error is in the file "administrator/components/com_menus/tmpl/item/edit_container.php". On line 65, the following is called: "$lang->load("$extension.sys", JPATH_ADMINISTRATOR)", but the variable $lang is not defined. So, for example, on line 21, just add: "$lang = $this->getLanguage();".

avatar standa-bl standa-bl - open - 4 Aug 2026
avatar standa-bl standa-bl - change - 4 Aug 2026
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Aug 2026

Add a Comment

Login with GitHub to post a comment