I am using views calc apart of Time Tracker and am having tons of errors pop up. The functionally is working just fine, but it is reporting errors when I try display a view of the user's clock-in's.
Any ideas?
Notice: Undefined index: uid in views_calc_table->get_calc_fields() (line 280 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views_calc_table.inc).
Notice: Undefined index: start in views_calc_table->get_calc_fields() (line 280 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views_calc_table.inc).
Notice: Undefined index: end in views_calc_table->get_calc_fields() (line 280 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views_calc_table.inc).
Notice: Undefined index: uid in include() (line 26 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 26 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 26 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 36 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 47 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 47 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 47 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: uid in include() (line 56 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: start in include() (line 56 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Notice: Undefined index: end in include() (line 56 of E:\htdocstls\RA\emra_drupal\sites\all\modules\views_calc\views-calc-table.tpl.php).
Comments
Comment #2
yash_khandelwalIf you ever notice this strange issue just switch to other layout type (Switched to table) and than back to views calc. It recreates indexes of all fields. And then issue will solve.
Comment #3
Huelfe CreditAttribution: Huelfe commented#2 thank you for your comment. Helped me a lot. :)
Comment #4
yash_khandelwalComment #6
asb CreditAttribution: asb as a volunteer commentedThis seems to happen every time a field is added to a 'views_calc' view.
Confirming that the workaround from #2 helps to get rid of the error messages.
However, a proper fix would be desirable.
Comment #7
James Feng CreditAttribution: James Feng commentedI also encountered the same problem. yash_khandelwal's method is very good. Thank you very much.