Having trouble to figure out whats wrong with the edit expense function as it always return a blank page. What could be the issue?
I extracted the error code from the error log.
My setup environment: Wordpress Civicrm 5.35.1
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.Sign up to join this community
This sounds like it might be a bug in the expenses extension. It's hitting line 121 in CRM/Expenses/Form/Expense.php but
$this->_expense is a string instead of an array at that point.
It's not clear why it's a string - it gets set at line 46 - if you add something like
CRM_Core_Error::debug_log_message(var_export($this->_expense, true)); either at line 48 or at line 120 and then check in the ConfigAndLog file it will tell you what it looks like.