Answers.Body: <p>There is a <a href="https://github.com/civicrm/civicrm-core/pull/30315/files" rel="nofollow noreferrer">PR</a> sent yesterday for the above fix, Can you apply the <a href="https://patch-diff.githubusercontent.com/raw/civicrm/civicrm-core/pull/30315.patch" rel="nofollow noreferrer">patch</a>?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-06T11:26:51.320Z
Answers.Text: SOLVED: Used the patch for now.
Answers.UserDisplayName: darkmode
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-07T16:12:35.887Z
Answers.Text: Thanks for letting us know that this fixed your issue. Rather than post a comment could you please mark Pradeep's answer as the accepted answer. Thanks!  See https://civicrm.stackexchange.com/help/accepted-answer
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-04T08:46:28.687Z
Answers.LastActivityDate: 2024-06-04T08:46:28.687Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>When making case report with all activities, AuditConfig -&gt; sort() is prompting uasort parameter null error instead of array. Initial finding is that in
  <a href="https://github.com/civicrm/civicrm-core/blob/137cd8116647b5dde72f1bfbceb0154fe9c88141/CRM/Case/Audit/Audit.php#L138" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/137cd8116647b5dde72f1bfbceb0154fe9c88141/CRM/Case/Audit/Audit.php#L138</a>, leftpane is not an array or is actually null, which causes the error.</p>
  <p>CiviCRM: 5.71.1</p>
  
Tags: <civicase>
Title: leftpane region is null in Case -> Audit getActivities() when making case report
ThreadText: # leftpane region is null in Case -> Audit getActivities() when making case report
  
  (Asked by: username_0 on 2024-06-04)
  
  When making case report with all activities, AuditConfig -> sort() is prompting uasort parameter null error instead of array. Initial finding is that in
  <https://github.com/civicrm/civicrm-core/blob/137cd8116647b5dde72f1bfbceb0154fe9c88141/CRM/Case/Audit/Audit.php#L138>, leftpane is not an array or is actually null, which causes the error.
  
  CiviCRM: 5.71.1
  
  **Tags:** civicase
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-06-04. Score: 2 | Accepted answer
  
  There is a [PR](https://github.com/civicrm/civicrm-core/pull/30315/files) sent yesterday for the above fix, Can you apply the [patch](https://patch-diff.githubusercontent.com/raw/civicrm/civicrm-core/pull/30315.patch)?
  
  > **Comments:**
  > **username_0**: SOLVED: Used the patch for now.  
  > **username_2**: Thanks for letting us know that this fixed your issue. Rather than post a comment could you please mark Pradeep's answer as the accepted answer. Thanks!  See https://civicrm.stackexchange.com/help/accepted-answer  
  
  ---
  
  