Category : frameworks

So i’m trying to fetch only my creations when the category_id = 1. /** * @return Creations[] Returns an array of Creations objects */ public function displayOne() { return $this->createQueryBuilder(‘c’) ->andWhere(‘c.category_id = 1’) ->setMaxResults(3) ->getQuery() ->getResult() ; } But when I want to Fetch it I have this error : Call to a member function ..

Read more

Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 – Installation request for mongodb/mongodb 1.6.0 -> satisfiable by mongodb/mongodb[1.6.0]. – mongodb/mongodb 1.6.0 requires ext-mongodb ^1.7 -> the requested PHP extension mongodb is missing from your system. To ..

Read more

Ive been just starting to learn Symfony PHP framework, and Ive run into some problems with its configuration. When trying to create a new project with command line like so: symfony new –full my_project I kept getting a simple error message: no PHP binaries detected and no files were created in the current folder. I ..

Read more

I have a serious problem every time I try to execute a command like composer update or php app / console cache: clear throws the following error: [Symfony Component DependencyInjection Exception ParameterNotFoundException] You have requested a non-existent parameter “server”. What could be the problem? I have several days in this and I cannot find a ..

Read more