Multi-language site, 2 languages, 2 menus, some associated articles and menu items, Modern Routing/remove numbers
When switching between languages, associated article in selected language is shown.
It is, but for 2 items only, with a line on top of the the page:
"Notice: Undefined index: option in /libraries/src/Component/Router/Rules/NomenuRules.php on line 104"
Edit: it also happens if the 2 menu-items involved are clicked directly, without switching language.
Only occurs with Modern routing, not with Legacy routing
Linux, Apache2/litespeed, 10.2.25-MariaDB-cll-lve, PHP 7.3.7, Joomla 3.9.10 and 3.9.11, possibly earlier versions as well
Google shows 3 pages of results with above error, must have been there some time.
It seems to be an old bug, see #15823 and #6488
No, all menu-items display articles, plus 2 or 3 separators under which are sub-items
Google lists a number of Joomla sites showing this notice, but I didn't see anything that all of them have in common. Did you try the 'Rebuild' button in the 'Menus' view already?
I looked at one of these sites on google and it has this Notice when we access to the home page with a non-sef url of the type index.php?option=com_content&view=featured&Itemid=101
but this has been solved since then as the site has sef on and is/was anyway monolingual.
@EricdeWaal
Can you try to switch to Protostar template and test?
@Gitjk Tried to rebuild, no difference
@infograf768 Protostar shows same message
It looks like this is an old bug: #15823
And it seems to happen on sites with only one language as well
i'm unable to reproduce without 3dp extensions what are you using ? smells like 3dp issues to me
Title |
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Discussion |
I can't replicate the issue, but based on a codereview I did a change. @EricdeWaal can you check if the change in #34049 fixes this for you? And if it does, we need to merge also #34050 for Joomla 4.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-20 17:20:36 |
Closed_By | ⇒ | richard67 |
Do you have any "System Links" type menu items (external URLs, headings, separators, menu item aliases)?