Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

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 #26

@Strubbl

Description

@Strubbl

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions