I'm receiving the following error, when recreating a feature within the Features UI:

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 _db_query() (line 148 of /var/www/includes/database.mysql.inc).

The original query stems from filefield_paths inside in filefield_paths_features_export_options(), inside filefield_paths/modules/features.inc.

$sql = db_rewrite_sql("SELECT * FROM {filefield_paths}");

i18n, i18nblocks, and node are the only modules I'm currently running that implement hook_db_rewrite_sql(). Being that it has to do with language, I can safely say the issue is inside i18n's hook. I'm not sure if this module or filefield_paths is to blame.

Comments

ttapada’s picture

Priority: Normal » Critical

subscribing

jose reyero’s picture

Priority: Critical » Normal
joseph.olstad’s picture

Issue summary: View changes
Status: Active » Closed (outdated)