Title: FATAL ERROR WHILE ACTIVATING PLUGIN
Last modified: April 12, 2023

---

# FATAL ERROR WHILE ACTIVATING PLUGIN

 *  [rajshekhargupta1711](https://wordpress.org/support/users/rajshekhargupta1711/)
 * (@rajshekhargupta1711)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-10/)
 * I tried installing **WP OAuth Server – CE**
 * Full OAuth2 Server for WordPress. User Authorization Management Systems For WordPress.
 * Version 4.3.2 | By [WP OAuth Server](http://wp-oauth.com/) |
 * over wordpress, but I am facing an error like:
 * Warning: Undefined variable $res in C:\xampp\htdocs\codeanddesign\wp-content\
   plugins\oauth2-provider\includes\functions.php on line 388
 * Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key)
   must be of type OpenSSLAsymmetricKey, null given in C:\xampp\htdocs\codeanddesign\
   wp-content\plugins\oauth2-provider\includes\functions.php:388 Stack trace: #0
   C:\xampp\htdocs\codeanddesign\wp-content\plugins\oauth2-provider\includes\functions.
   php(388): openssl_pkey_get_details(NULL) #1 C:\xampp\htdocs\codeanddesign\wp-
   content\plugins\oauth2-provider\wp-oauth-main.php(344): wp_oauth_generate_server_keys()#
   2 C:\xampp\htdocs\codeanddesign\wp-content\plugins\oauth2-provider\wp-oauth-main.
   php(229): WO_Server->install() #3 C:\xampp\htdocs\codeanddesign\wp-includes\class-
   wp-hook.php(308): WO_Server->setup(”) #4 C:\xampp\htdocs\codeanddesign\wp-includes\
   class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 C:\xampp\htdocs\
   codeanddesign\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #6 C:\xampp\
   htdocs\codeanddesign\wp-admin\plugins.php(194): do_action(‘activate_oauth2…’)#
   7 {main} thrown in C:\xampp\htdocs\codeanddesign\wp-content\plugins\oauth2-provider\
   includes\functions.php on line 388
    -  This topic was modified 3 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-10/#post-16631553)
 * The best way to do this is to contact the support of the plugin: [https://wordpress.org/support/plugin/oauth2-provider/](https://wordpress.org/support/plugin/oauth2-provider/)

Viewing 1 replies (of 1 total)

The topic ‘FATAL ERROR WHILE ACTIVATING PLUGIN’ is closed to new replies.

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)
 * [plugin](https://wordpress.org/support/topic-tag/plugin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-plugin-10/#post-16631553)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
