I am following course:
https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/933870
Lecture 38.
In short, they explain how to create Blog website.
There are Model and Core bundles.
There are Author and Post entities in Model bundle (Author and Post controllers in Core bundle).
I have successfully created slug column in Author table with doctrine:migrations:diff and doctrine:migrations:migrate.
But i can not generate slug contents, because command:
doctrine:fixtures:load gives a PHP fatal error:
"PHP Fatal error: Class 'Blog\Model\Bundle\Repository\AuthorRepository' not foun
d in C:\Bitnami\wampstack-5.4.38-0\sym_prog\myproject\vendor\doctrine\orm\lib\Do
ctrine\ORM\Repository\DefaultRepositoryFactory.php on line 75"
I have compared four related (from my point of view) Author files :
1) src\Blog\ModelBundle\Entity\Author.php
2) src\Blog\CoreBundle\Controller\AuthorController.ph p
3) src\Blog\ModelBundle\Repository\AuthorRepository.p hp
4) src\Blog\ModelBundle\DataFixtures\ORM\10-Authors.php
with files provided at the end of the course. There is no difference. I also compared them with Post files, i mean i checked the namespaces i import - again i import and use the adequate namespace as in Post, where slugs were created successfully.
What are other files which doctrine:fixtures:load touch? Where i should search for mistake?