Title: Errors in the log
Last modified: August 31, 2016

---

# Errors in the log

 *  Resolved [C-In-OFF](https://wordpress.org/support/users/c-in-off/)
 * (@c-in-off)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-in-the-log/)
 * Chat installed on 2 sites. the same problem.
 * PHP Warning: openssl_public_encrypt(): Don’t know how to get public key from 
   this private key in *****\wp-content\plugins\wise-chat\src\WiseChatCrypt.php 
   on line 33
 * PHP Warning: openssl_public_encrypt(): key parameter is not a valid public key
   in *****\wp-content\plugins\wise-chat\src\WiseChatCrypt.php on line 33
 * I do not use SSL.
 * But the chat works! ))
 * [https://wordpress.org/plugins/wise-chat/](https://wordpress.org/plugins/wise-chat/)

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

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-in-the-log/#post-7158070)
 * Thank you for reporting this. I will check it.
 * Marcin
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years ago](https://wordpress.org/support/topic/errors-in-the-log/#post-7158182)
 * Hi,
 * This error:
 *     ```
       PHP Warning: openssl_public_encrypt(): Don't know how to get public key from this private key in *****\wp-content\plugins\wise-chat\src\WiseChatCrypt.php on line 33
   
       PHP Warning: openssl_public_encrypt(): key parameter is not a valid public key in *****\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 (mainly on XAMPP in 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

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

The topic ‘Errors in the log’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/errors-in-the-log/#post-7158182)
 * Status: resolved