Wordpress Install version 5

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 the wp-content/plugins folder, and a vendor folder was created there. No wp-content/plugins/wordpress folder 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.

  1. Download the latest Source code.zip file available from the repo’s releases: Releases · auth0/wordpress · GitHub
  2. Upload and manually install that .zip file to the WordPress plugin dashboard.
  3. cd into /wp-content/plugins/wordpress-5.3.0/
  4. Ran composer install in this directory, as suggested from your fix in this post above.
  5. Return to the WordPress plugin dashboard and activate.

Success! This got the plugin installed and activated for me.