fontawesome fatal error Column not found: 1054 Unknown column

Created on 15 March 2023, over 1 year ago
Updated 7 June 2023, over 1 year ago

Problem/Motivation

Fatal error when running site audit reports and on config synchronization administration page.

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'coe_widget__field_coe_widget_icon.field_coe_widget_icon_value' in 'where clause': SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {coe_widget} base_table INNER JOIN {coe_widget_field_data} coe_widget_field_data ON coe_widget_field_data.id = base_table.id INNER JOIN {coe_widget__field_coe_widget_icon} coe_widget__field_coe_widget_icon ON coe_widget__field_coe_widget_icon.entity_id = base_table.id WHERE (coe_widget_field_data.type = :db_condition_placeholder_0) AND (coe_widget__field_coe_widget_icon.field_coe_widget_icon_value IS NOT NULL) GROUP BY base_table.vid, base_table.id) subquery; Array ( [:db_condition_placeholder_0] => coe_widget_point_of_pride ) in Drupal\site_audit\Plugin\SiteAuditCheck\ContentFieldInstances->calculateScore() (line 96 of /var/www/web/modules/contrib/site_audit/src/Plugin/SiteAuditCheck/ContentFieldInstances.php).

Steps to reproduce

Install site_audit module on a site using fontawesome_icon module that is also using fontawesome_icon fields.

Proposed resolution

Add a switch case for '$field . "_icon_name"' for fontawesome entity field type.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States davidburns Philadelphia

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

Comments & Activities

Production build 0.71.5 2024