Skip to content
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

2.1.0 PHP Fatal error #2355

Closed
Rurik19 opened this issue Oct 4, 2016 · 3 comments
Closed

2.1.0 PHP Fatal error #2355

Rurik19 opened this issue Oct 4, 2016 · 3 comments

Comments

@Rurik19
Copy link
Contributor

Rurik19 commented Oct 4, 2016

Issue details

Fist, there was an XmlDriver.php error just like #1828. After patching that , there is another

`PHP message: PHP Fatal error: Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'Invalid mapping file 'FOS.OAuthServerBundle.Entity.Client.orm.xml' for cl
ass 'FOS\OAuthServerBundle\Entity\Client'.' in /var/www/wallabag2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php:86
Stack trace:
#0 /var/www/wallabag2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php(117): Doctrine\Common\Persistence\Mapping\MappingException::invalidMappingFile('FOS\

OAuthServer...', 'FOS.OAuthServer...')
#1 /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php(58): Doctrine\Common\Persistence\Mapping\Driver\FileDriver->getElement('FOS\OAuthServer...')
#2 /var/www/wallabag2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php(102): Doctrine\ORM\Mapping\Driver\XmlDriver->loadMetadataForClass('FO `

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.1.0
  • How did you install wallabag? Via git clone
@j0k3r
Copy link
Member

j0k3r commented Oct 4, 2016

What the hell is that problem 😳
Could you share your whole setup?
Also, can you remove the cache rm -rf var/cache/* and give an other try?

@Rurik19
Copy link
Contributor Author

Rurik19 commented Oct 4, 2016

Sorry

That my fault, I fixed XmdDriver.php wrong way :-(

Just for info: error like #1828 appears after each release.

@Rurik19 Rurik19 closed this as completed Oct 4, 2016
@j0k3r
Copy link
Member

j0k3r commented Oct 4, 2016

Yeah sorry about that issue, we really don't know how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants