I just updated my OctoberCMS 3.7.12 using twig v3.21.1.
For unknown reasons, the |page filter stopped working. I didnt change anything here since months while I was updating regularly, so I guess either October or Twig did some changes.
I checked the changelogs but didnt find anything.
So… here we are. Sure I could post an example of my twig code etc, but since I didnt change this and it worked before, this should not be the case.
Any ideas where to start? It works on DEV environment and does not on STAGING. STAGING has stricter rules, here’s the differences in the env file:
APP_DEBUG='false'
CMS_ASSET_CACHE='false'
I cleared the cache which also didnt change anything.
That’s unusual, if the |page filter wasn’t working, every site running October would be broken. Do you have any plugins that override the filter perhaps?
I tried to nail it down to the bare minimum. The empty layout is really nearly empty… not much in there. “Welcome” is my index page in the pages folder.