未找到 FosOauthServerBundle Propel BaseClient

FosOauthServerBundle Propel BaseClient not found

我正在使用 doctrine orm,但不知何故我收到一个错误,提示未找到 propel BaseClient(class 通常由 propel 自动生成)。 是错误还是我做错了什么?

fos_oauth_server:
    db_driver:           orm
    client_class:        Diligentia\OAuthBundle\Entity\Client
    access_token_class:  Diligentia\OAuthBundle\Entity\AccessToken
    refresh_token_class: Diligentia\OAuthBundle\Entity\RefreshToken
    auth_code_class:     Diligentia\OAuthBundle\Entity\AuthCode
    service:
        user_provider: fos_user.user_manager

错误:

PHP Fatal error:  Class 'FOS\OAuthServerBundle\Propel\om\BaseClient' not found in /var/www/redwood/vendor/friendsofsymfony/oauth-server-bundle/Propel/Client.php on line 19

Fatal error: Class 'FOS\OAuthServerBundle\Propel\om\BaseClient' not found in /var/www/redwood/vendor/friendsofsymfony/oauth-server-bundle/Propel/Client.php on line 19
Segmentation fault

在我看来,它甚至不应该尝试加载它。

predis 未与 composer 一起安装,导致我的缓存无法正常工作。 由于 User Bundle 无法获取我使用的 db 驱动程序并将 propel 设置为默认值导致不相关的错误和我长时间无法找到问题。