"Base table or view not found" when running report with CiviCRM on Drupal 9.

Created on 5 July 2023, almost 2 years ago
Updated 13 September 2023, over 1 year ago

Hi there,

Couldn't see another issue for this, so creating one while I investigate closer.

Installed security_review on a Drupal 9 site with CiviCRM installed, and running the rerport generates this error:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jobs.civicrm_activity' doesn't exist: SELECT `id`, `details__value` FROM civicrm_activity t; Array ( ) in Drupal\security_review\Checks\Field->run() (line 108 of /app/sites/jobs/web/modules/contrib/security_review/src/Checks/Field.php).

I'll try to debug to see if it is just using the wrong database connection.

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Finn Lewis

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

Comments & Activities

Production build 0.71.5 2024