User tests: Successful: Unsuccessful:
Pull Request for Issue # .#30812
Follow up of PR: #31100
$app->getMenu()->getActive();
can return a MenuItem or null
by calling a function when null is returned, it generates a fatal error.
Add a dummy/non existent ItemId in your non sef urls.
E.g. /index.php?option=com_content&view=article&id=2:another-article&catid=9&itemId=5000
In that case there is no menu item with id 5000
No fatal error
No
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Templates (site) |
Title |
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-22 08:35:07 |
Closed_By | ⇒ | rdeutz |
I have tested this item✅ successfully on d8568dd
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31156.