Hello all.
I have run into an issue when using the new Modern Router and content that is set to display to only logged in users. Hopefully I can describe what is happening properly here for folks to get to the bottom of it...
Using Joomla 3.8.2 and default Protostar template...
0 Call to a member function getChildren() on null
.When a non-authenticated user attempts to visit a protected article URL, user would be redirected automatically to the login page.
When a non-authenticated user attempts to visit a protected article URL, user sees an error page with "Call to a member function getChildren() on null" error.
Joomla = 3.8.2
URL Routing = Modern Router (for com_content)
Remove IDs from URLs = Yes (for com_content)
PHP = 7.0.8
When using Remove IDs from URLs parameter set to Yes or set to No, both times the error appears...
domain.com/test-category-menu-item-alias/test-article-alias
domain.com/test-category-menu-item-alias/13-test-article-alias
And when using the original Legacy Router, the non-authenticated user gets properly redirected to login page when they visit a Registered page without being logged in.
Labels |
Added:
?
|
Category | ⇒ | Router / SEF |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-02 06:51:02 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18927
Confirmed, found cause. Looking for a solution.