1

Has anyone else seen this error under Joomla and CiviCRM 5.10.4 when viewing a contact via the front end?

Warning: hash_equals(): Expected user_string to be a string, null given in /.../administrator/components/com_civicrm/civicrm/CRM/Contact/BAO/Contact/Utils.php on line 232

  • Are you viewing the contact via a link that has "cs=" in the url? – Demerit Mar 5 at 15:51
  • Not that I am aware. $inputCheck is null when validChecksum is called, CRM_Utils_Request::retrieve('cs', 'String', $form, FALSE) returns a null value. – Stephen Palmstrom Mar 6 at 13:05
  • I'm having the same issue after upgrading to CiviCRM 5.13.12 – user1314302 May 7 at 18:58
0

I am also receiving this error but on Wordpress 5.2.1 and civiCRM 5.13.4. I have not found a solution to this either.

0

I had this problem in Wordpress 5.2.1 and CiviCRM 5.13.4 too. Changing line 232 to the following:

if (!hash_equals((string)$check, (string)$inputCheck)) {

in the file: civicrm\civicrm\CRM\Contact\BAO\Contact\Utils.php fixed the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.