You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did everything as in instruction, but i get:
"Catchable Fatal Error: Argument 1 passed to Ent\AppBundle\Listener\LoadDataListener::loadData() must be an instance of Ent\AppBundle\Listener\CalendarEvent, instance of AncaRebeca\FullCalendarBundle\Event\CalendarEvent given"
The text was updated successfully, but these errors were encountered:
Sorry for the delay @jacekpcmaniak .
It looks like your listener class has loadData function has the wrong data type parameter ($calendarEvent). You have to set AncaRebeca\FullCalendarBundle\Event\CalendarEvent If you want to use type hinting, not Ent\AppBundle\Listener\CalendarEvent.
I did everything as in instruction, but i get:
"Catchable Fatal Error: Argument 1 passed to Ent\AppBundle\Listener\LoadDataListener::loadData() must be an instance of Ent\AppBundle\Listener\CalendarEvent, instance of AncaRebeca\FullCalendarBundle\Event\CalendarEvent given"
The text was updated successfully, but these errors were encountered: