Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When updating the block I get this user warning:
Unknown column 'css_class' in 'field list' query: SELECT css_class FROM block_class WHERE module = "block" AND delta = "4" in /"the site"/sites/all/modules/block_class/block_class.module on line 5.
All the other blocks give the same warning except for the block name ofcourse.
It however seems to pick up the css correct. What should I do?
Comments
Comment #1
berenddeboer CreditAttribution: berenddeboer commentedComment #2
berenddeboer CreditAttribution: berenddeboer commentedDisable module, deinstall, and enable again.
Comment #3
MiHaCo CreditAttribution: MiHaCo commentedhad the same problem updating. Deinstalled, update.php and installed again and it was fixed.
Comment #4
paskainos CreditAttribution: paskainos commentedFor others that may experience this issue, disable the module and remove the 'block class' entry from the 'system' table in your database. Then [re-]enable the module. The 'block_class' table should be created and working.