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 deleting a rule in admin "By Path" tab
/admin/content/nodewords/path
It always throws an error like:
user warning: Unknown column 'id' in 'where clause' query: DELETE FROM nodewords_bypath_tags WHERE id = 1 in /home/sites/lz/web/includes/database.mysql.inc on line 172.
This is due to nodewords_bypath.forms.inc @235
db_query('DELETE FROM {nodewords_bypath_tags} WHERE id = %d', $id);
which should be path_id instead of id.
thus leading to nodewords_bypath_tags to contain orphans.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is corrected in 5.x-1.2.
Thanks for catching this one!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.