Title: Dreaded SSl Error&#8230;
Last modified: August 31, 2016

---

# Dreaded SSl Error…

 *  Resolved [theonemancrew](https://wordpress.org/support/users/theonemancrew/)
 * (@theonemancrew)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/dreaded-ssl-error/)
 * Hi, I really need some help..
 * After 3 hours of trying i’ve finally had to come here and ask.
 * everything goes fine until i try and load a test page/room. Im sure its something
   very simple im missing.
 * _i get this error above the chat box.
    Warning: openssl\_public\_encrypt(): Don’t
   know how to get public key from this private key in E:\xampp\htdocs\1st Test 
   Site\wp-content\plugins\wise-chat\src\WiseChatCrypt.php on line 33  **Inside 
   the the chat box it says:**
 * _Maintenance corrupted data: JSON.parse: unexpected character at line 2 column
   1 of the JSON data
    Server error: SyntaxError: JSON.parse: unexpected character
   at line 2 column 1 of the JSON data
 * i’ve looked in the forums and I haven’t found what i need to know?
 * This the debug code i got. I know its something very simple i just cant figure
   it out.
 * [Tue Apr 26 2016 23:47:09 GMT+1000 (AUS Eastern Standard Time)] [analyzeResponse]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23
    [Tue Apr 26 2016 23:47:11
   GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived] Fatal error: Cannot
   redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-
   wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:14 GMT+1000 (AUS Eastern 
   Standard Time)] [onNewMessagesArrived] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:17 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:20
   GMT+1000 (AUS Eastern Standard Time)] [analyzeResponse] Fatal error: Cannot redeclare
   class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-
   query.php on line 23 [Tue Apr 26 2016 23:47:20 GMT+1000 (AUS Eastern Standard
   Time)] [onNewMessagesArrived] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:23 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:26
   GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived] Fatal error: Cannot
   redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-
   wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:29 GMT+1000 (AUS Eastern 
   Standard Time)] [analyzeResponse] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:30 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:32
   GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived] Fatal error: Cannot
   redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-
   wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:35 GMT+1000 (AUS Eastern 
   Standard Time)] [onNewMessagesArrived] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:38 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:39
   GMT+1000 (AUS Eastern Standard Time)] [analyzeResponse] Fatal error: Cannot redeclare
   class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-
   query.php on line 23 [Tue Apr 26 2016 23:47:41 GMT+1000 (AUS Eastern Standard
   Time)] [onNewMessagesArrived] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:45 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:48
   GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived] Fatal error: Cannot
   redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-
   wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:49 GMT+1000 (AUS Eastern 
   Standard Time)] [analyzeResponse] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23 [Tue Apr 26 2016 23:47:50 GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived]
   Fatal error: Cannot redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test
   Site\wp-includes\class-wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:53
   GMT+1000 (AUS Eastern Standard Time)] [onNewMessagesArrived] Fatal error: Cannot
   redeclare class WP_Meta_Query in E:\xampp\htdocs\1st Test Site\wp-includes\class-
   wp-meta-query.php on line 23 [Tue Apr 26 2016 23:47:56 GMT+1000 (AUS Eastern 
   Standard Time)] [onNewMessagesArrived] Fatal error: Cannot redeclare class WP_Meta_Query
   in E:\xampp\htdocs\1st Test Site\wp-includes\class-wp-meta-query.php on line 
   23
 * Thanks for any help.
 * [https://wordpress.org/plugins/wise-chat/](https://wordpress.org/plugins/wise-chat/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [theonemancrew](https://wordpress.org/support/users/theonemancrew/)
 * (@theonemancrew)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7320746)
 * I forgot to mention im running this on localhost through xamp…
 * could that be the reason for the error?
 *  Thread Starter [theonemancrew](https://wordpress.org/support/users/theonemancrew/)
 * (@theonemancrew)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7320994)
 * So every thread has been replied to except this one..
 * What a shit support.
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7321045)
 * Hi,
 * This error:
 * > Warning: openssl_public_encrypt(): Don’t know how to get public key from this
   > private key in E:\xampp\htdocs\1st Test Site\wp-content\plugins\wise-chat\src\
   > WiseChatCrypt.php on line 33
 * is not related to Wise Chat plugin. Wise Chat uses OpenSSL library for encryption
   and sometimes the library does not work correctly on XAMPP (Windows). It is related
   to different version of OpenSSL in Apache and PHP.
 * Here are some hints how to solve this:
    [http://stackoverflow.com/questions/10422268/openssl-seal-problems](http://stackoverflow.com/questions/10422268/openssl-seal-problems)
   [http://stackoverflow.com/questions/11399613/issues-with-openssl-on-php-different-behaviour-for-different-versions](http://stackoverflow.com/questions/11399613/issues-with-openssl-on-php-different-behaviour-for-different-versions)
 * I can’t fix it because it is not in Wise Chat.
 * Best regards
    Marcin
 *  Thread Starter [theonemancrew](https://wordpress.org/support/users/theonemancrew/)
 * (@theonemancrew)
 * [10 years ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7321051)
 * Thanks Marcin, much appreciated. I’ll look into it,
 * once again sorry for my angry comment above.
 *  [MinstrelsGhost](https://wordpress.org/support/users/minstrelsghost/)
 * (@minstrelsghost)
 * [10 years ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7321075)
 * Sorry, meant to start my own thread

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dreaded SSl Error…’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

## Tags

 * [encrypt](https://wordpress.org/support/topic-tag/encrypt/)
 * [OpenSSL](https://wordpress.org/support/topic-tag/openssl/)
 * [public](https://wordpress.org/support/topic-tag/public/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 5 replies
 * 3 participants
 * Last reply from: [MinstrelsGhost](https://wordpress.org/support/users/minstrelsghost/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/dreaded-ssl-error/#post-7321075)
 * Status: resolved