-
Notifications
You must be signed in to change notification settings - Fork 127
php 8.1 warning - Parser/Conditional/BooleanExpression.php, line 130 #3259
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
Comments
@jcogs-design any ideas which specific conditional in template is causing that? |
It appears to be this one
|
Is |
|
I wasn't able to replicate it, but my guess would be that you see it in case where both Can you add this code around line 53, right in the beginning of
I am not sure whether that should evalulate to |
I'll try that, but just for the lols this also works (tested) - insert before line 130 in BooleanExpression.php
|
…PHP warning (cherry picked from commit fd9c181)
@jcogs-design when you get time, can you give a try to the solution provided in the PR referenced here? I think it's a bit better solution because it's happening earlier in the code, but I don't have a way to test it |
…sion-null Resolved #3259 where certain coditionals in templates could generate PHP warning
…sion-null Resolved #3259 where certain coditionals in templates could generate PHP warning
Front-end error, php 8.1.16 / EE 7.2.14
Error Messages
The text was updated successfully, but these errors were encountered: