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
It seems that the bundles bugs. first i have a user entity related to the group entity ,as already defined in fosuerbundle , the exception says :
The class 'Doctrine\Common\Collections\ArrayCollection' was not found in the chain configured namespaces AppBundle\Entity, FOS\UserBundle\Model
But the file( Collections\ArrayCollection.php ) alreday exist ...even i cleared the cache but same problém , and when i go to a private browser, everything is fine until i filter or add new users ,
in vendor\doctrine\common\lib\Doctrine\Common\Persistence\Mapping\MappingException.php at line 37
*/
public static function classNotFoundInNamespaces($className, $namespaces)
{
return new self("The class '" . $className . "' was not found in the ".
"chain configured namespaces " . implode(", ", $namespaces)); //here the probleme
}
at UnitOfWork ->doMerge (object(ArrayCollection), array())
in vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php at line 1786
{
$visited = array();
return $this->doMerge($entity, $visited); //here the probleme
}
/**
at UserController ->filter (object(QueryBuilder), object(Request))
in src\AppBundle\Controller\UserController.php at line 39
$queryBuilder = $em->getRepository('AppBundle:User')->createQueryBuilder('e');
list($filterForm, $queryBuilder) = $this->filter($queryBuilder, $request); //here the problém
$arr= $this->paginator($queryBuilder, $request);
at call_user_func_array (array(object(UserController), 'indexAction'), array(object(Request)))
in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php at line 153
$arguments = $event->getArguments();
// call controller
$response = call_user_func_array($controller, $arguments); //here the probléme
// view
if (!$response instanceof Response) {
The text was updated successfully, but these errors were encountered:
ahmed-bhs
changed the title
the bundles bugs : Doctrine\Common\Collections\ArrayCollection' was not found in the chain configured namespaces
The bundles bugs : Doctrine\Common\Collections\ArrayCollection' was not found in the chain configured namespaces
Feb 19, 2017
Hi,some helpe here please :
It seems that the bundles bugs. first i have a user entity related to the group entity ,as already defined in fosuerbundle , the exception says :
The class 'Doctrine\Common\Collections\ArrayCollection' was not found in the chain configured namespaces AppBundle\Entity, FOS\UserBundle\Model
But the file( Collections\ArrayCollection.php ) alreday exist ...even i cleared the cache but same problém , and when i go to a private browser, everything is fine until i filter or add new users ,
The text was updated successfully, but these errors were encountered: