cms
cms copied to clipboard
`{nocache}` tag and pagination params
Bug description
We have a default template that calls partials as follows:
{{ cache key="sitekey:entry_{id}" }}
{{ panels }}
{{ partial src="_panels/{type}" }}
{{ /panels }}
{{ /cache }}
Inside some of the partials are a nocache
tag, which works fine until you give the page a pagination parameter (eg ?page=2), at which point you get an error like the following:
Undefined array key "1e949d9a0e474ed45ae2ec3a55f3a471fa2be8b9"
I've tried setting statamic.static_caching.ignore_query_strings
to true and it makes no difference.
How to reproduce
Happy to share the repo, or access to the dev server to help figure it out.
Logs
https://flareapp.io/share/VmeDkgr5#F76
Environment
Statamic 3.3.30 Pro
Laravel 8.83.15
PHP 8.0.21
aerni/social-links 2.3.0
cnj/seotamic 2.0.6
jonassiewertsen/statamic-livewire 2.9.0
pecotamic/sitemap 1.4.0
thoughtco/statamic-cookiepanel 1.0.2
thoughtco/statamic-minify 1.1.1
thoughtco/statamic-redirects 1.1.0
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response