Error on php 7.2
 
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Error on php 7.2

5 Posts
2 Users
1 Reactions
4,598 Views
(@gully)
Member Customer
Joined: 9 years ago
Posts: 8
Topic starter  

Hello, I use WPDiscuz and after going to php version 7.2. the error_msg.png error message is displayed. The error is caused by the mcrypt_encrypt php function. After replacing the openssl_encrypt, everything is OK.

openssl encrypt
mcrypt encrypt
msg

   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4233
 

The 7.2 PHP version of your server doesn't have all necessary extensions. Please read this answer: https://stackoverflow.com/questions/2604435/fatal-error-call-to-undefined-function-mcrypt-encrypt/#answer-2604474


   
ReplyQuote
(@gully)
Member Customer
Joined: 9 years ago
Posts: 8
Topic starter  

Warning: This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged. See  http://php.net/manual/en/function.mcrypt-encrypt.php


   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 10 years ago
Posts: 4233
 

 Pavel,

We've already mentioned here that you're probably using an old version.

https://gvectors.com/forum/how-to-and-troubleshooting/php-error-when-activating-online-user-plugin/#post-7123

This problem has been fixed. Please make sure you use the latest 1.0.4 version of wpDiscuz Online users addon.

 


   
ReplyQuote
(@gully)
Member Customer
Joined: 9 years ago
Posts: 8
Topic starter  

Yes! Now it's okay. Thank you and sorry for the stupid question.

 

Have a nice day


   
Tom reacted
ReplyQuote
Share:
Scroll to top