0

Hi I'm trying to install the genj/faq-bundle on Symfony 2.8. I have followed the step in the documentation: https://github.com/genj/GenjFaqBundle

But when I'm trying to do the schema update. There is nothing to update. And when I go to the /faq route, I have this error:

The class 'Genj\FaqBundle\Entity\Category' was not found in the chain configured namespaces FM\UserBundle\Entity, FOS\UserBundle\Entity

What is the problem?

Kevin
  • 4,823
  • 6
  • 36
  • 70

2 Answers2

0

Did you try the force flag?

php app/console doctrine:schema:update --force
Arleigh Hix
  • 9,990
  • 1
  • 14
  • 31
  • yes I did. Do I have create a class which extend this bundle? – Kevin Mar 29 '16 at 09:22
  • [check this answer](http://stackoverflow.com/questions/22813300/symfony-error-the-class-xxx-was-not-found-in-the-chain-configured-namespaces-xxx) – Arleigh Hix Mar 29 '16 at 09:37
0

Found it... It was a mapping problem in my config.yml. The auto_mapping was false

auto_mapping: true
Kevin
  • 4,823
  • 6
  • 36
  • 70