-
Notifications
You must be signed in to change notification settings - Fork 64
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
Regression: "Call to a member function count() on null" #270
Labels
Comments
It seems that the bugfix "($node->childNodes !== null) && ..." from previous versions has disappeared in v11.0.15. |
According to discussion for 34bd1ae This is due to an outdated PHP version. |
CybotTM
added a commit
that referenced
this issue
Feb 22, 2024
We need to explicitly check with hasChildNodes() and cannot just iterate over childNodes due to a bug in PHP < 7.4.4 https://bugs.php.net/bug.php?id=79271
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
When opening the page view of a page, you sometimes get the error "Call to a member function count() on null".
Steps to reproduce
The regression was introduced with 34bd1ae
The text was updated successfully, but these errors were encountered: