Closed (fixed)
Project:
Invoice
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
4 Apr 2011 at 23:40 UTC
Updated:
22 Jun 2011 at 12:14 UTC
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
Comment #1
leemako commentedHoping 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.
Comment #2
pietervogelaar commentedFixed in Git, will be available in the next development snapshot.
Greetings,
Pieter
Comment #3
pietervogelaar commented