Hello,
I got this error when I open the edit page for a taxonomy.

Notice : Undefined property: stdClass::$view_name dans tvi_taxonomy_admin_form() (ligne 105 dans /homez.168/xxxxx/www/sites/all/modules/tvi/includes/tvi.admin.inc).

Notice : Undefined property: stdClass::$view_name dans tvi_taxonomy_admin_form() (ligne 115 dans /homez.168/xxxxxx/www/sites/all/modules/tvi/includes/tvi.admin.inc).

Result is choosing a view for TVI is impossible.

I am using Drupal 7.12

Any idea ?
Thanks, do not hesitate to tell me if you need more info.

Comments

Nav1’s picture

I cleaned the table tvi_settings, the error "Undefined property: stdClass::$view_name" desapeared.

I got a new error when selecting a tvi view and applying :

PDOException : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'view_name' in 'field list': INSERT INTO {tvi_settings} (type, xid, view_name, display, status) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => vocab [:db_insert_placeholder_1] => 7 [:db_insert_placeholder_2] => taxo_marque [:db_insert_placeholder_3] => block [:db_insert_placeholder_4] => 1

Nav1’s picture

Status: Active » Closed (fixed)

Corrected by manually inserted view_name row (mysteriously has view_id) instead
Thanks to Ben for the .install tip