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 I try to create a feature i keep getting this error
user warning: Unknown column 'n.language' in 'where clause' query: SELECT DISTINCT * FROM filefield_paths WHERE (n.language ='en' OR n.language ='' OR n.language IS NULL) in public_html/sites/all/modules/filefield_paths/modules/features.inc on line 46.
Comment | File | Size | Author |
---|---|---|---|
#2 | filefield_paths-1151514-1-6x1x20110703-D6.patch | 578 bytes | kndr |
Comments
Comment #1
FiNeX CreditAttribution: FiNeX commentedThis is like: http://drupal.org/node/941668... the solution is the same. You've to change the filefield_paths_features_export_options() function on file filefield_paths/modules/features.inc:
From:
To:
Comment #2
kndrI can confirm this warning. In my opinion, db_rewrite_sql() is useless here. Unfortunatelly #1 doesn't work with "junk" module, which tries to join on nid field. I propose to get rid of this piece of code.
Comment #3
Deciphered CreditAttribution: Deciphered commentedAgreed, I don't see the need for a rewrite here, happy with the patch. Committed to 6.x-1.x.
Cheers,
Deciphered.
Comment #4
FiNeX CreditAttribution: FiNeX commentedThanks for the commit!
Comment #6
roball CreditAttribution: roball commentedThe fix is now officially available in version 6.x-1.5.