Download & Extend

User warning: Unknown column 'n.language'

Project:Internationalization
Version:6.x-1.9
Component:Blocks
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

Priority:normal» critical

subscribing

#2

Priority:critical» normal
nobody click here