We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the activity tab of a contact is open, PHP warns for each activity:
PHP Warning: Invalid argument supplied for foreach() in civicrm/CRM/Core/Action.php on line 379
It corresponds to the CRM_Core_Action::replace method.
CRM_Core_Action::replace
The text was updated successfully, but these errors were encountered:
After investigating, I found that it occurs when it is called by _civicrm_api3_activity_GetActionLinks_processLinks()
_civicrm_api3_activity_GetActionLinks_processLinks()
It seems that the $values variables passed to replace() is not set. https://github.com/compucorp/uk.co.compucorp.civicase/blob/master/api/v3/Activity/Getactionlinks.php#L111
$values
replace()
but I can't figure which data should be passed here
Sorry, something went wrong.
Pass missing $values to _processLinks
c0485af
Correctly populate URL, also remove PHP Warnings compucorp#875
No branches or pull requests
When the activity tab of a contact is open, PHP warns for each activity:
It corresponds to the
CRM_Core_Action::replace
method.The text was updated successfully, but these errors were encountered: