Various errors recorded in log message on Manage Case screen -> relationship tab.
Manage case screen logs different error messages in logs. To replicate
- Create a case and load the manage case screen.
- open relationship tab.
- Open drupal log messages and notice the error message recorded.
Some of them are -
Warning: array_multisort(): Argument #2 (closed) is expected to be an array or a sort flag in CRM_Activity_Page_AJAX::getCaseRoles() (line 188 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).
Warning: constant(): Couldn't find constant SORT_ in CRM_Activity_Page_AJAX::getCaseRoles() (line 188 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).
Notice: Undefined index: order in CRM_Activity_Page_AJAX::getCaseRoles() (line 187 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).
Notice: Undefined index: in CRM_Activity_Page_AJAX::getCaseRoles() (line 185 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).
Notice: Undefined index: sort in CRM_Activity_Page_AJAX::getCaseRoles() (line 185 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).
Notice: Undefined index: sortBy in CRM_Activity_Page_AJAX::getCaseGlobalRelationships() (line 59 of /Users/jitendra/src/civicrm/CRM/Activity/Page/AJAX.php).