PHP8: PHP Fatal error: Uncaught TypeError: sha1()
-
Hello,
The plugin isn’t compatible with php8 and it occurs the following error while transfering points
PHP Fatal error: Uncaught TypeError: sha1(): Argument #1 ($string) must be of type string, array given in /home/john/www/wordpress/wp-content/plugins/mycred/addons/transfer/includes/mycred-transfer-object.php:1317
I have a look into the code and see that the plugin calls
sha1
with an empty array$mycred_transfer_salt
, can you fix this issue?$mycred_transfer_salt = mycred_get_option( 'mycred_transfer_salt' ); $key = sha1($mycred_transfer_salt);
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘PHP8: PHP Fatal error: Uncaught TypeError: sha1()’ is closed to new replies.