Answers.Body: <p>I had this problem in Wordpress 5.2.1 and CiviCRM 5.13.4 too.
  Changing line 232 to the following:</p>
  
  <pre><code>if (!hash_equals((string)$check, (string)$inputCheck)) {
  </code></pre>
  
  <p>in the file: civicrm\civicrm\CRM\Contact\BAO\Contact\Utils.php
  fixed the problem.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-07T15:49:19.630Z
Answers.LastActivityDate: 2019-06-07T15:49:19.630Z
Answers.UserDisplayName: Hugo C
Answers.Body: <p>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.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-30T14:12:25.173Z
Answers.Text: I flagged this as an issue: https://lab.civicrm.org/dev/joomla/issues/11, and it looks as thought it will be sorted in a future release.
Answers.UserDisplayName: Stephen Palmstrom
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-28T13:06:49.873Z
Answers.LastActivityDate: 2019-05-28T13:06:49.873Z
Answers.UserDisplayName: Janice G
Body: <p>Has anyone else seen this error under Joomla and CiviCRM 5.10.4 when viewing a contact via the front end?</p>
  
  <p>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</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-05T15:51:07.560Z
Comments.Text: Are you viewing the contact via a link that has "cs=" in the url?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-06T13:05:30.827Z
Comments.Text: Not that I am aware.  $inputCheck is null when validChecksum is called, CRM_Utils_Request::retrieve('cs', 'String', $form, FALSE) returns a null value.
Comments.UserDisplayName: Stephen Palmstrom
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-07T18:58:13.207Z
Comments.Text: I'm having the same issue after upgrading to CiviCRM 5.13.12
Comments.UserDisplayName: user1314302
Tags: <contacts><joomla><5.10.x>
Title: hash_equals(): Expected user_string to be a string, null given in Contact/BAO/Contact/Utils.php on line 232
ThreadText: # hash_equals(): Expected user_string to be a string, null given in Contact/BAO/Contact/Utils.php on line 232
  
  (Asked by: username_0 on 2019-03-05)
  
  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
  
  **Tags:** contacts, joomla, 5.10.x
  
  > **Comments:**
  > **username_1**: Are you viewing the contact via a link that has "cs=" in the url?  
  > **username_0**: Not that I am aware.  $inputCheck is null when validChecksum is called, CRM_Utils_Request::retrieve('cs', 'String', $form, FALSE) returns a null value.  
  > **username_2**: I'm having the same issue after upgrading to CiviCRM 5.13.12  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2019-06-07. Score: 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.
  
  
  ---
  
  ### Answer by username_4 on 2019-05-28. Score: 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.
  
  > **Comments:**
  > **username_0**: I flagged this as an issue: https://lab.civicrm.org/dev/joomla/issues/11, and it looks as thought it will be sorted in a future release.  
  
  ---
  
  