Closed (fixed)
Project:
Taxonomy Views Integrator
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 17:47 UTC
Updated:
3 Jun 2012 at 11:49 UTC
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
Comment #1
Nav1 commentedI 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
Comment #2
Nav1 commentedCorrected by manually inserted view_name row (mysteriously has view_id) instead
Thanks to Ben for the .install tip