odiseoteam / SyliusBlogPlugin

This plugin add blog capabilities to your Sylius project.
MIT License
34 stars 18 forks source link

Return value of Odiseo\BlogBundle\Model\Article::getImages() must implement interface Doctrine\Common\Collections\Collection, null returned #12

Closed gamusta closed 3 years ago

gamusta commented 4 years ago

Sylius version : 1.7.0

After creating a blog article and go to the listing (/admin/blog/articles/) I got this error Return value of Odiseo\BlogBundle\Model\Article::getImages() must implement interface Doctrine\Common\Collections\Collection, null returned

Tested with an existed Sylius installation and a new one the same error occurs.

Screenshot image

bigboss86 commented 4 years ago

Hello @gamusta. I tested it with Sylius 1.7 version and it works fine. Maybe it's something from your local settings?