Reverting doctrine-plugin error