-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
Unable to parse file "/var/www/xxx/vendor/braincrafted/bootstrap-bundle/Braincrafted/Bundle/B
ootstrapBundle/DependencyInjection/../Resources/config/services/form.xml".
[InvalidArgumentException]
The XML file "/var/www/xxx/vendor/braincrafted/bootstrap-bundle/Braincrafted/Bundle/Bootstrap
Bundle/DependencyInjection/../Resources/config/services/form.xml" is not valid.
[Symfony\Component\Debug\Exception\ContextErrorException]
Notice: Undefined property: DOMDocument::$documentElement
.
anyone knows why i have this error?
php7.1-xml and libxml2 is installed.. What am i missing?
Activity
inverse commentedon Apr 18, 2017
@Raffaello did you make any progress with this error?
Raffaello commentedon Apr 19, 2017
@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.
inverse commentedon Apr 19, 2017
@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
ydiev commentedon Oct 2, 2017
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.
catchmareck commentedon Nov 10, 2017
@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!
ghost commentedon Jun 1, 2018
@ydiev tks guy! works for me.