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

Error on Activation #838

Closed
Krammig opened this issue Dec 3, 2021 · 3 comments
Closed

Error on Activation #838

Krammig opened this issue Dec 3, 2021 · 3 comments

Comments

@Krammig
Copy link

Krammig commented Dec 3, 2021

Hope the following is helpful as I am curious to try this plugin.

IIS Windows 7
PHP 7.3.1.0
FastCGI

Fatal error: Uncaught Error: Class 'WP_Auth0_Options' not found in G:\RainbowWeb\test\httpdocs\wp-content\plugins\wp-auth0-master\WP_Auth0.php:83 Stack trace: #0 G:\RainbowWeb\test\httpdocs\wp-includes\class-wp-hook.php(303): wp_auth0_activation_hook('') #1 G:\RainbowWeb\test\httpdocs\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #2 G:\RainbowWeb\test\httpdocs\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #3 G:\RainbowWeb\test\httpdocs\wp-admin\plugins.php(193): do_action('activate_wp-aut...') #4 {main} thrown in G:\RainbowWeb\test\httpdocs\wp-content\plugins\wp-auth0-master\WP_Auth0.php on line 83

@evansims
Copy link
Member

evansims commented Dec 3, 2021

Hi @Krammig 👋 We've never tested the plugin under IIS, but I don't expect there would be any particular issues with that.

  • Are you running plugin V4.3.1?
  • What version of WordPress?
  • Did you install manually, or from the WordPress plugin dashboard?
  • Can you show me what your directory structure for the plugin looks like?

It sounds like, for whatever reason, your WordPress is not importing all the required plugin files properly.

@evansims
Copy link
Member

Closing for now, but let me know if this is still an issue for you and we can dignose it further.

@lukemalcolm
Copy link

I hit the same issue with release 4.4.0 running on PHP 7.3 (linux/apache). I had to do two things to make this work.

In composer.json change the PHP requirement from 7.4 to 7.3.

"require": { "php": "^7.3 || ^8.0",

Then I had to call composer2 install.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants