Fix issue 806

Fixed issue 806 Fix (Doctrine ORM Manager named "default" does not exist)