Notice: Use of undefined constant COMMENT_NODE_CLOSED - assumed 'COMMENT_NODE_CLOSED' in _invoice_set_content_type_settings() (line 645 of /home/lostshar/public_html/drupal/sites/all/modules/invoice/invoice_helpers.inc).

Comments

leemako’s picture

Hoping the above was just a warning more than an error went ahead and made my first invoice, failed with the following error..

Notice: Undefined index: default in _invoice_get_variable() (line 544 of /home/lostshar/public_html/drupal/sites/all/modules/invoice/invoice_helpers.inc).
Notice: Undefined index: default in _invoice_get_variable() (line 544 of /home/lostshar/public_html/drupal/sites/all/modules/invoice/invoice_helpers.inc).
Notice: Undefined index: default in _invoice_get_variable() (line 544 of /home/lostshar/public_html/drupal/sites/all/modules/invoice/invoice_helpers.inc).
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'tid' at row 1: INSERT INTO {invoice_invoices} (iid, nid, leading_zeros, prefix, description, tid, pay_limit, uid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => 12 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => 3 [:db_insert_placeholder_3] => %Y [:db_insert_placeholder_4] => blah blah blah. : (t/a) my text here[:db_insert_placeholder_5] => [:db_insert_placeholder_6] => 7 [:db_insert_placeholder_7] => 2 ) in invoice_insert() (line 712 of /home/lostshar/public_html/drupal/sites/all/modules/invoice/invoice.module).

Looking at my content it was present but no fields were filled in.

pietervogelaar’s picture

Assigned: Unassigned » pietervogelaar
Status: Active » Fixed

Fixed in Git, will be available in the next development snapshot.

Greetings,
Pieter

pietervogelaar’s picture

Status: Fixed » Closed (fixed)