Closed jokari4242 closed 10 years ago
Hi @jokari4242,
I don't know where is your problem but I think everything is okay about this on FeedBundle because we have unit tests using MediaItemField
class (see: https://github.com/eko/FeedBundle/blob/master/Tests/Format/RSSFormatterTest.php#L138)
Do you have the correct use statement in your controller? Because it has been changed in the latest tag:
Old: Eko\FeedBundle\Field\MediaItemField
New (you must have this one): Eko\FeedBundle\Field\Item\MediaItemField
,
Thank you
I put the New use Statement and everythings it's OK, thanks you for your help, and for your Bundle!
@jokari4242,
Thank you, have a good feed :)
Hello,
Since few days, I have this error :
mod_fcgid: stderr: PHP Catchable fatal error: Argument 1 passed to Eko\FeedBundle\Feed\Feed::addItemField() must be an instance of Eko\FeedBundle\Field\Item\ItemFieldInterface, instance of Eko\FeedBundle\Field\MediaItemField given
This is my controller :
I don't understand where is the source of the problem...
I have the same configuration of documentation. If someone can help me!
Thanks,