Manual synchronization error

Created on 18 March 2022, over 2 years ago
Updated 28 November 2023, 12 months ago

Problem/Motivation

Site was upgraded to Drupal 9 and most Drupal and CiviCRM functions seem to be working. I can manually create Drupal accounts that are matched to new contacts in CiviCRM, but the module doesn't work.

Steps to reproduce

Run a Manual Synchronization :

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /en/batch?id=17425&op=do_nojs&op=do
StatusText: 500 Service unavailable (with message)
ResponseText: The website encountered an unexpected error. Please try again later.Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.civicrm_uf_match' doesn't exist: SELECT "uf"."contact_id" AS "contact_id"
FROM
"civicrm_uf_match" "uf"
LEFT OUTER JOIN "civicrm_membership" "m" ON uf.contact_id = m.contact_id
WHERE ("m"."id" IS NOT NULL) AND ("m"."membership_type_id" IN (:db_condition_placeholder_0)); Array
(
[:db_condition_placeholder_0] => 2
)
in Drupal\civicrm_member_roles\CivicrmMemberRoles->getSyncContactIds() (line 184 of modules/contrib/civicrm_member_roles/src/CivicrmMemberRoles.php).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Fixed

Component

Code

Created by

🇨🇦Canada kathc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024