Warning: Undefined var $res in oauth2-provider/includes/functions.php line 388
-
Hi,
I have WP OAuth Server CE plugin running successfully on one of my wordpress sites.
I am now trying to activate WP OAuth Server CE plugin on another wordpress site (v5.7.8) but I get a fatal error.
Anyone know why I would get this error and how this can be fixed?
Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type OpenSSLAsymmetricKey, null given in plugins/oauth2-provider/includes/functions.php:388 Stack trace: #0 plugins/oauth2-provider/includes/functions.php(388): openssl_pkey_get_details(NULL) #1 plugins/oauth2-provider/wp-oauth-main.php(344): wp_oauth_generate_server_keys() #2 plugins/oauth2-provider/wp-oauth-main.php(229): WO_Server->install() #3 wp-includes/class-wp-hook.php(292): WO_Server->setup('') #4 wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #5 wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 wp-admin/plugins.php(193): do_action('activate_oauth2...') #7 {main} thrown in plugins/oauth2-provider/includes/functions.php on line 388
Any assistance would be very much appreciated.
- The topic ‘Warning: Undefined var $res in oauth2-provider/includes/functions.php line 388’ is closed to new replies.