Bug #101394
closed
Undefined array key "pageuid" in /typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 159
Added by Fronzes Philippe 10 months ago.
Updated 10 months ago.
Can you please provide your static route configuration ?
Granted, we should guard this - butlooking into the code that means that a valid pageuid is missing.
We can add such a guard and throw a InvalidArgumentException, would not help much - beside having a
more naming error eventually.
I would be interessted into which constellation causes this, so maybe we can do a check early in the
stack to avoid things or deal with a configuration issue more correctly.
- Status changed from New to Needs Feedback
- Assignee set to Stefan Bürk
This is these lines in my config.yaml file.
routes:
-
route: rss.xml
type: uri
source: 't3://page?type=9818'
-
route: sitemap.xml
type: uri
source: 't3://page?type=1533906435'
Actually, I have added a uid=1 parameter in the source (source: 't3://page?uid=1&type=9818'), and the error is gone, but I think the syntax without the uid is correct ?
- Status changed from Needs Feedback to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF