0

We're having an odd problem with saving tags on SearchKit saved searches that I cannot replicate on dmaster. If you try to save a search with changes to the search itself or to only the tags, it works fine. If you change the search and change the tags, the tag changes are not saved and in fact all tags are removed from the search - which is a real pain! The save button just says saving indefinitely, though the changes to the search are saved (except the tags).

When this happens, I note a console error: POST [Our site]/civicrm/ajax/api4 503 (Service Unavailable), followed by a Possibly unhandled rejection: undefined. But it is unclear to me why [Our site]/civicrm/ajax/api4 would be called (as opposed to [Our site]/civicrm/ajax/api4/entity/). This URL does in fact return a 503 on our site and returns Could not find valid value for calls on dmaster (where this problem does not occur).

This is on 5.56.2 on D7, but it has been occurring since at least 5.49.

1 Answer 1

0

Turns out this was somehow due to the CiviCRM Entity Drupal module (we had 7.x.2.3). Not entirely sure what was happening as I can't reproduce it locally, but disabling the module fixes the problem.

This was logged: Error: Cannot use object of type CRM_Core_DAO_EntityTag as array in civicrm_entity_civicrm_post() (line 3601 of /var/www/html/sites/all/modules/contrib/civicrm_entity/civicrm_entity.module).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.