-
-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
array_key_exists() error on PHP8+ #5190
Comments
Can you please post a bit more of the rot stack trace? |
Does this help @edalzell? The log error was too long for GitHub and sharing the error with Ignition gives an error. Ironically. |
This bug happens all the time, I get it on my Github deployment pipeline randomly when using a custom tag:
The custom tag:
The Github pipeline runs exactly the same time each day but sometimes it works and sometimes it fails with this bug. Maybe it's related... |
Can you share _sticky_animation.antlers.html Rob? |
I think only the first line is relevant:
But here's the full thing in case you need it. It's a complex block responsible for the color changing area below the hero on (https://socialebenadering.nl).
|
If you can provide a repo where it's reproducible that'd be cool. |
will do! |
You should have an invite by now! I'll PM you a .env on Discord. |
Thanks. FYI this happens on 8.0 too. |
Seems to be resolved in the new parser. Could you give it a try? |
Will do. It’s a good full fledged website test case for the new parser as well to test all backwards compatibility. @JohnathonKoster beware ;-)! |
It's indeed solved with the runtime parser. However some stuff seems broken. I will see if I can fix and document those and if there's a possible bug involved I'll make a new issue. |
Bug description
I use a scoped replicators like this:
The data for one of these replicator sets looks like this"
The template uses this:
On PHP7.4 this works fine, however on PHP8.1 it results in the following error:
How to reproduce
Happy to share the repo and .env. DM me if needed.
Logs
No response
Versions
Statamic 3.2.32 Pro
Laravel 8.82.0
PHP 8.1.2
rias/statamic-color-swatches 2.0.5
Installation
Starter Kit using via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: