Hi @tmora
The entire error message is rather strange. It refers to a function called shmop_delete:
https://www.php.net/manual/en/function.shmop-delete.php
We do not use this in our code, or any low level memory management function for that matter, so our code might have been modified somehow on your website. First, please check this file:
- wp-content/plugins/nextend-facebook-connect/includes/oauth2.php
And go to line 220. You should see this:
if (function_exists('random_bytes')) {
return $this->bytesToString(random_bytes(self::CSRF_LENGTH));
}
Do you see the same code part as above? According to your error message it looks like random_bytes might have been replaced by this shmop_delete funciton.
If that is the case, please delete your current Nextend Social Login installation, and install it again. Your plugin settings will stay, so don’t worry about those.
If the problem still appears afterwards, then if you make a test php file (e.g. test.php) with this code:
<?php
var_dump(random_bytes(32));
And open this test file in your browser, do you see the problem there? And also please check this code as well:
<?php
var_dump(substr(bin2hex(random_bytes(32)), 0, 32));
If you see the error still, then we suspect that somehow the random_bytes function is incorrectly configured, or an issue similar to it.