Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix autoload inclusion for Roots/Bedrock #881

Merged
merged 2 commits into from
Dec 11, 2023
Merged

fix autoload inclusion for Roots/Bedrock #881

merged 2 commits into from
Dec 11, 2023

Conversation

adleviton
Copy link
Contributor

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

When I attempted to activate this plugin on a Roots/Bedrock site:

( ! ) Warning: require_once(/srv/www/mysite.test/current/web/app/plugins/wordpress/vendor/autoload.php): Failed to open stream: No such file or directory in /srv/www/mysite.test/current/web/app/plugins/wordpress/wpAuth0.php on line 34

This happens because Roots keeps the composer vendor directory with autoload.php outside the Wordpress plugin directory, and it automatically takes care of including of the autoload.php file.

Testing

  • [x ] This change adds test coverage for new/changed/fixed functionality

Checklist

  • [x ] All active GitHub checks for tests, formatting, and security are passing
  • [x ] The correct base branch is being used, if not the default branch

@evansims
Copy link
Member

Hi @adleviton 👋 Thanks for your suggestion. I'll review this as soon as possible and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants