Skip to content

Fatal error on autoload require... #6

@J-Fricke

Description

@J-Fricke

I'm getting the below error after installing and running the command from the readme.md file php ./vendor/bin/mgf ./PATH_TO_FILES (replaced my actual paths with ...):

Fatal error: require(): Failed opening required '/.../vendor/magento-ecg/magniffer/Ecg/Magniffer/bin/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /.../vendor/magento-ecg/magniffer/Ecg/Magniffer/bin/mgf on line 4

It appears that it's basing the __DIR__ off of the symlink source file instead of where the symlink lives (.../vendor/bin/mgf).

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