doc icon indicating copy to clipboard operation
doc copied to clipboard

FAQ point for getting error PHP Fatal error: Class 'Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle' not found in /var/www/wallabag2/app/AppKernel.php on line 49

Open Strubbl opened this issue 7 years ago • 2 comments

when issuing a command like php bin/console and you forget --env=prod, you get the error message

PHP Fatal error: Class 'Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle' not found in /var/www/wallabag2/app/AppKernel.php on line 49

I always forget that when only looking at the documentation here: https://doc.wallabag.org/en/admin/console_commands.html

So i guess, it would make sense to:

  • [x] add a hint box to the above mentioned commands page that you shall not forget env parameter (see https://github.com/wallabag/doc/pull/19/files#diff-060ffd258fa2d53d2e9f9d6d23a285b7)
  • [ ] add a FAQ entry with the above mentioned error message

Strubbl avatar Jun 27 '17 20:06 Strubbl