Skip to content

Composer autoload issues while installing other plugins #731

@dave-carpenter-ae

Description

@dave-carpenter-ae

I've installed the s3-uploads plugin by running composer require humanmade/s3-uploads in the root directory of my project. Everything is working as expected: my constants are defined in wp-config.php alongside require_once __DIR__ . '/vendor/autoload.php'; and wp s3-uploads verify runs successfully.

When uploading and installing other plugins that have composer dependencies, they do not install correctly when autoload.php is loaded in wp-config.php. If I comment out the line, install the plugin, and uncomment the line, everything works fine.

Is this a plugin-specific incompatibility or am I misunderstanding how to install s3-uploads?

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