Skip to content
Advertisement

Tag: symfony

How to run Symfony web server from PhpStorm

Is it possible for me to run Symfony web-server from the PhpStorm? I know I can run it from the command line: I just wonder if there is any way how to configure PhpStorm to do it for me. Answer Symfony WebServer Bundle Setup Click Run -> Edit Configurations In the dialog box Click + (add) Select PHP Script from

Impossible to access an attribute on a string variable

In my controller i just pass some users on my twig view. Here is my function : And this is my twig view where i want to display some information on a html table : And i got this error : Impossible to access an attribute (“name”) on a string variable (” “). for this line : Thanks for help!

using SncRedisBundle on platform.sh

I’m trying to get my app hosted by platform.sh, my problem is that I use SncRedisBundle, with this config: When I push to platform.sh, their build process include a call to composer update, which end like this: Generating optimized autoload files > IncenteevParameterHandlerScriptHandler::buildParameters > SensioBundleDistributionBundleComposerScriptHandler::buildBootstrap > SensioBundleDistributionBundleComposerScriptHandler::clearCache Script SensioBundleDistributionBundleComposerScriptHandler::clearCache handling the symfony-scripts event terminated with an exception [RuntimeException] An error

Advertisement