2

So I use my fork of CalendarBundle (http://github.com/permanaj/CalendarBundle), I install it, configure it, and extend it, because it usually the way to use a bundle. But when I try to run command it return error:

  [Doctrine\ODM\MongoDB\Mapping\MappingException]                              
  Class Rizza\CalendarBundle\Document\Event is not a valid document or mapped  
   super class. 

I already create a Document that extends the parent CalendarBundle Document, but it still return the same error. Should the parent document also use @MongoDB annotation? or just the child document? How to fix this problem?

Emii Khaos
  • 9,983
  • 3
  • 34
  • 57
Permana
  • 1,972
  • 2
  • 33
  • 51

0 Answers0