I have a route using a regex (simplified for posting reasons)
'/technologies/([^/]*)/gettingstarted/?': '/gettingstarted/$1'
When testing it out, hitting ‘technologies/analytics/gettingstarted’ will route properly to ‘/gettingstarted/analytics’. However, I if try and hit ‘technologies/ai/gettingstarted’ I am presented with:
a **Fatal error** : Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in **/var/www/html/system/src/Grav/Common/Page/Pages.php** on line **511**
The routed result would be looking for ‘/gettingstarted/ai’, but that content does not exist. I was expecting to be returned with a 404 page.
Any help would be greatly appreciated.