I ran into a similar error.
-
Hosing is provided by WP Engine, its a standard structure of WordPress.
-
PHP 8.2 and WordPress 6.8.2.
-
Ran the command
composer require symfony/http-client nyholm/psr7 auth0/wordpress:^5.0
from thewp-content/pluginsfolder, and avendorfolder was created there. Nowp-content/plugins/wordpressfolder was created.
After reading a few closed issues on the github repo, and a few issues posted in these forums, I tried these next set of steps to get it installed. After deleting the vendor folder, composer.json, and composer.lock files created from above, I started fresh.
- Download the latest
Source code.zipfile available from the repo’s releases: Releases · auth0/wordpress · GitHub - Upload and manually install that .zip file to the WordPress plugin dashboard.
cdinto/wp-content/plugins/wordpress-5.3.0/- Ran
composer installin this directory, as suggested from your fix in this post above. - Return to the WordPress plugin dashboard and activate.
Success! This got the plugin installed and activated for me.