Symfony installation exception in my wamp server -


e:\wamp\www>composer create-project symfony/framework-standard-edition myproject  

i got following error while running above command cmd

[symfony\component\dependencyinjection\exception\invalidargumentexception]   $id must string, or alias object.    script sensio\bundle\distributionbundle\composer\scripthandler::clearcache handl ing post-install-cmd event terminated exception      [runtimeexception]   error occurred when executing ""cache:clear --no-warmup"" command.    create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n o-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [package] [directory] [version] 

when try open in browser displaying following things

( ! ) fatal error: uncaught exception 'symfony\component\dependencyinjection\exception\invalidargumentexception' message '$id must string, or alias object.' in e:\wamp\www\jicc\vendor\symfony\symfony\src\symfony\component\dependencyinjection\containerbuilder.php on line 684 ( ! ) symfony\component\dependencyinjection\exception\invalidargumentexception: $id must string, or alias object. in e:\wamp\www\jicc\vendor\symfony\symfony\src\symfony\component\dependencyinjection\containerbuilder.php on line 684 

call stack

#   time    memory  function    location 1   0.0006  243936  {main}( )   ..\app.php:0 2   0.0168  1858928 symfony\component\httpkernel\kernel->handle( )  ..\app.php:28 3   0.0168  1859248 symfony\component\httpkernel\kernel->boot( )    ..\bootstrap.php.cache:2442 4   0.0214  2030936 symfony\component\httpkernel\kernel->initializecontainer( ) ..\bootstrap.php.cache:2411 5   0.1249  6222584 symfony\component\dependencyinjection\containerbuilder->compile( )  ..\bootstrap.php.cache:2633 6   0.1365  6246912 symfony\component\dependencyinjection\compiler\compiler->compile( ) ..\containerbuilder.php:614 7   0.1365  6252376 symfony\component\httpkernel\dependencyinjection\mergeextensionconfigurationpass->process( )    ..\compiler.php:117 8   0.1367  6253344 symfony\component\dependencyinjection\compiler\mergeextensionconfigurationpass->process( )  ..\mergeextensionconfigurationpass.php:39 9   0.3882  11688728    symfony\bundle\swiftmailerbundle\dependencyinjection\swiftmailerextension->load( )  ..\mergeextensionconfigurationpass.php:55 10  0.3993  11915400    symfony\bundle\swiftmailerbundle\dependencyinjection\swiftmailerextension->configuremailer( )   ..\swiftmailerextension.php:53 11  0.3996  11924184    symfony\bundle\swiftmailerbundle\dependencyinjection\swiftmailerextension->configuremailerspool( )  ..\swiftmailerextension.php:92 12  0.3997  11930016    symfony\component\dependencyinjection\containerbuilder->setalias( ) ..\swiftmailerextension.php:223 

can me fix issue ?

if happens on fresh install of symfony, please consider running stable , long-term supported version of symfony, 2.7:

composer create-project symfony/framework-standard-edition my_project_name "2.7.*" 

if works you, please post bug report in symfony/symfony-standard. maybe bug has been introduced in latest version.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -