The class User resolves to Kayue\WordpressBundle\Twig\Extension\User in this class namespace. This class doesn't seem to exist in the project class map. Did you forget to add a use statement? Or did you forget to prefix this class with a \?
public function findAllMetasByPost(Post $post)
{
return $this->postMetaManager->findAllMetasByPost($post);
}
public function findAllMetasByUser(User $user)
{
return $this->userMetaManager->findAllMetasByUser($user);
}
public function findMetasBy(array $criteria)
in Twig/Extension/WordpressExtension.php, line 172
Posted from SensioLabsInsight