-
Notifications
You must be signed in to change notification settings - Fork 181
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
PHP7.1 Notice: Undefined property: DOMDocument::$documentElement #461
Comments
@Raffaello did you make any progress with this error? |
@inverse Nope and now I cannot neither reproduce. Anyway sometimes was not present other yes. So I am guessing it is just related to some cache or similar. Or some other dependencies in the OS. |
@Raffaello We managed to work around the issue by upgrading the distribution-bundle. https://packagist.org/packages/sensio/distribution-bundle#v4.0.38 Looks like this commit solved it: sensiolabs/SensioDistributionBundle@9546937 |
I had same issue. In my case it had came from the "extension=dom.so". I guess because it was enabled twice. Once from php.ini and once from the mods-available/dom.ini. So I just deleted it from my php.ini file and it fixed the problem for me. Just sharing my solution here. Could help to someone. |
@ydiev I love you, man!!! I've been debugging some WP Plugin for a week and you've just ended my torture. Worked like a charm. Thank you for posting your solution! |
@ydiev tks guy! works for me. |
anyone knows why i have this error?
php7.1-xml and libxml2 is installed.. What am i missing?
The text was updated successfully, but these errors were encountered: