#101394Undefined array key "pageuid" in /typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 159
Description
No description.
Reviews 3
History 58
-
Stefan Bürk commented 07/24/23, 22:15
-
Stefan Bürk changed status
NewNeeds Feedback assigned to Stefan Bürk 07/24/23, 22:16 -
Fronzes Philippe commented 07/25/23, 07:22
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 ?
-
Gerrit Code Review pushed patch set 1 for main to change 80188 status
Needs FeedbackUnder Review 07/27/23, 14:42 -
Gerrit Code Review pushed patch set 1 for 12.4 to change 80149 07/28/23, 07:54
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 80150 07/28/23, 07:54
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %100 % 07/28/23, 08:15Applied in changeset commit:dc0b6070f188c9dc8946f8f768382d0ee4b69ade.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 14:15
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.