KayueWordpressBundle
KayueWordpressBundle copied to clipboard
Attempted to call method "setBlogId" on class "Doctrine\ORM\EntityManager" in vendor/kayue/kayue-wordpress-bundle/Kayue/WordpressBundle/Model/BlogManager.php line 62.
After upgrade to 1.1.1 from 1.1.0 i'm getting this error:
UndefinedMethodException: Attempted to call method "setBlogId" on class "Doctrine\ORM\EntityManager" in /Users/hudson/Documents/Projects/Gpz2/Six3nine/Src/vendor/kayue/kayue-wordpress-bundle/Kayue/WordpressBundle/Model/BlogManager.php line 62.
when trying to do something like this:
/** @var $blogManager \Kayue\WordpressBundle\Model\BlogManager */ $blogManager = $this->get("kayue_wordpress.blog.manager"); $trainerBlog = $blogManager->findBlogById($trainer->getBlogNumber())->getEntityManager();
Now I'm revert to 1.1.0 to avoid this
+1 I'm having the same problem, reverting to 1.1.0 solved it.
Same issue here. It appears that Kayue\WordpressBundle\Doctrine\WordpressEntityManager
is not being summoned.
Reworking multisite and a lot of things in https://github.com/kayue/KayueWordpressBundle/pull/48 It could solve this problem
@kayue Thanks! I'll try to update on the next week and test it.