Canit activate plugin
-
I’m facing this issue when activating the plugin
[22-Jul-2024 17:52:21 UTC] PHP Warning: Undefined variable $res in D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\includes\functions.php on line 381 [22-Jul-2024 17:52:21 UTC] PHP Stack trace: [22-Jul-2024 17:52:21 UTC] PHP 1. {main}() D:\wamp\www\wordpress-6.5\wp-admin\plugins.php:0 [22-Jul-2024 17:52:21 UTC] PHP 2. activate_plugin($plugin = ‘oauth2-provider/wp-oauth-server.php’, $redirect = ‘https://localhost/wordpress-6.5/wp-admin/plugins.php?error=true&plugin=oauth2-provider%2Fwp-oauth-server.php’, $network_wide = FALSE, $silent = *uninitialized*) D:\wamp\www\wordpress-6.5\wp-admin\plugins.php:60 [22-Jul-2024 17:52:21 UTC] PHP 3. do_action($hook_name = ‘activate_oauth2-provider/wp-oauth-server.php’, …$arg = variadic(FALSE)) D:\wamp\www\wordpress-6.5\wp-admin\includes\plugin.php:703 [22-Jul-2024 17:52:21 UTC] PHP 4. WP_Hook->do_action($args = [0 => FALSE]) D:\wamp\www\wordpress-6.5\wp-includes\plugin.php:517 [22-Jul-2024 17:52:21 UTC] PHP 5. WP_Hook->apply_filters($value = ”, $args = [0 => FALSE]) D:\wamp\www\wordpress-6.5\wp-includes\class-wp-hook.php:348 [22-Jul-2024 17:52:21 UTC] PHP 6. WO_Server->setup(FALSE) D:\wamp\www\wordpress-6.5\wp-includes\class-wp-hook.php:324 [22-Jul-2024 17:52:21 UTC] PHP 7. WO_Server->install() D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\wp-oauth-main.php:229 [22-Jul-2024 17:52:21 UTC] PHP 8. wp_oauth_generate_server_keys($overwrite = *uninitialized*) D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\wp-oauth-main.php:344 [22-Jul-2024 17:52:21 UTC] PHP Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type OpenSSLAsymmetricKey, null given in D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\includes\functions.php:381 Stack trace: #0 D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\includes\functions.php(381): openssl_pkey_get_details(NULL) #1 D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\wp-oauth-main.php(344): wp_oauth_generate_server_keys() #2 D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\wp-oauth-main.php(229): WO_Server->install() #3 D:\wamp\www\wordpress-6.5\wp-includes\class-wp-hook.php(324): WO_Server->setup(false) #4 D:\wamp\www\wordpress-6.5\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 D:\wamp\www\wordpress-6.5\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #6 D:\wamp\www\wordpress-6.5\wp-admin\includes\plugin.php(703): do_action(‘activate_oauth2…’, false) #7 D:\wamp\www\wordpress-6.5\wp-admin\plugins.php(60): activate_plugin(‘oauth2-provider…’, ‘https://localhos…’, false) #8 {main} thrown in D:\wamp\www\wordpress-6.5\wp-content\plugins\oauth2-provider\includes\functions.php on line 381
- You must be logged in to reply to this topic.