Une erreur est survenue

App\Entity\Blog object not found by the @Entity annotation. The expression "repository.findOneBySlug(slug)" returned null