After updating Statamic I got a strstr(): Argument #1 ($haystack) must be of type string, array given error on all my pages. After investiging this piece of code triggered it:
footer is a global with a partners replicator inside it. It seems that the error only occurs when using a replicator and when the glide tag is inside a nocache tag.
How to reproduce
Create a global variable with a replicator field containing an asset field that accepts a single image.
In your antlers template, load an asset using a glide tag like this:
Bug description
After updating Statamic I got a
strstr(): Argument #1 ($haystack) must be of type string, array given
error on all my pages. After investiging this piece of code triggered it:footer
is a global with apartners
replicator inside it. It seems that the error only occurs when using a replicator and when the glide tag is inside a nocache tag.How to reproduce
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
Runtime (default)
Additional details
No response