Skip to content

Cannot get it working on Sylius v1.1.x #71

@stefandoorn

Description

@stefandoorn

@michalmarcinkowski I have a weird error that I didn't have on Sylius 1.0.x. Have been researching it, but can't get a clear clue on why it errors yet.. :(

        W: > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
        W: PHP Fatal error:  Uncaught Doctrine\Common\Persistence\Mapping\MappingException: File mapping drivers must have a valid directory path, however the given path [/app/vendor/lakion/cms-plugin/src/Resources/config/doctrine/model] seems to be incorrect! in /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php:61
        W: Stack trace:
        W: #0 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php(174): Doctrine\Common\Persistence\Mapping\MappingException::fileMappingDriversRequireConfiguredDirectoryPath('[/app/vendor/la...')
        W: #1 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php(151): Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator->getAllClassNames(NULL)
        W: #2 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php(128): Doctrine\Common\Persistence\Mapping\Driver\FileDriver->getAllClassNames()
        W: #3 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMe in /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php on line 61
        
        Fatal error: Uncaught Doctrine\Common\Persistence\Mapping\MappingException: File mapping drivers must have a valid directory path, however the given path [/app/vendor/lakion/cms-plugin/src/Resources/config/doctrine/model] seems to be incorrect! in /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php:61
        Stack trace:
        #0 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php(174): Doctrine\Common\Persistence\Mapping\MappingException::fileMappingDriversRequireConfiguredDirectoryPath('[/app/vendor/la...')
        #1 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php(151): Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator->getAllClassNames(NULL)
        #2 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php(128): Doctrine\Common\Persistence\Mapping\Driver\FileDriver->getAllClassNames()
        #3 /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMe in /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php on line 61

cc @pamil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions