<分区>
最近我在我的 wordpress 上收到这条警告错误消息:
Warning: hash_equals(): Expected user_string to be a string, null given in C:\xampp3\htdocs\Plurielles\wordpress\wp-includes\pluggable.php on line 1662
Warning: hash_equals(): Expected user_string to be a string, null given in C:\xampp3\htdocs\Plurielles\wordpress\wp-includes\pluggable.php on line 1668
它禁用了我网站上的很多功能(添加图片和更多......) 我一直在 php 文件中查找这两行,它们是:
第 1662 行:
if ( hash_equals( $expected, $nonce ) ) {
return 1;
}
第 1668 行:
if ( hash_equals( $expected, $nonce ) ) {
return 2;
}
你知道我该如何解决吗?我是 PHP 的新手,如果这真的很容易解决,我深表歉意(你可以给我扔石头)。