New answers tagged

2

It seems you already have is_active column added to civicrm_status_pref table. This was added in civi 5.19 version. From the backtrace, it seems the error is shown after civi tries to add the same column in the existing log table of civicrm_status_pref which is log_civicrm_status_pref. Try renaming this table to eg log_civicrm_status_pref_backup and then ...


2

With API4 you can do it like this: $contacts = \Civi\Api4\Contact::get() ->addClause('OR', ['birth_date', '<=', '1960-01-01'], ['birth_date', 'IS NULL'] ) ->execute(); foreach ($contacts as $contact) { // do something }


0

API documentation exists - https://docs.civicrm.org/dev/en/latest/api. You might even be able to get incoming SMS without coding an extension, using either the standard REST API or with the Form Processor extension. However, you're not going to get Civi to submit a request to an external URL without an extension. That said - CiviRules handles a significant ...


1

I've confirmed this bug and reported at https://lab.civicrm.org/dev/core/issues/1517 PR https://github.com/civicrm/civicrm-core/pull/16266 should fix the problem.


1

I believe api4 throws API_Exception and sometimes Exception.


Top 50 recent answers are included