Steps to reproduce:

1) Fresh D7 install
2) Install invoice beta1.
3) Go to node/add/invoice
4) The below message is displayed:

Notice: Undefined index: default in _invoice_get_variable() (line 544 of /Applications/XAMPP/xamppfiles/htdocs/test/sites/all/modules/invoice/invoice_helpers.inc).

Comments

Surp’s picture

I confirm this, subscribed.

softmax’s picture

here the same .. subscribed

Junro’s picture

Same here

supervillain’s picture

same error here... fresh D7 and invoice installs.

HansKuiters’s picture

Same here.

But if you go to /admin/config/system/invoice and fill in all the fields, the message is gone.

pietervogelaar’s picture

Assigned: Unassigned » pietervogelaar
Status: Active » Fixed

Thanks for reporting, it's fixed in Git now and will be available in the next development snapshot.

Pieter

pietervogelaar’s picture

Status: Fixed » Closed (fixed)
ToursandTales’s picture

Version: 7.x-1.0-beta1 » 7.x-1.1
Status: Closed (fixed) » Active

I've just upgraded our Invoice version (automatic update) and am getting this error message:
Notice: Undefined index: floorstyle in _invoice_get_variable() (line 587 of ../sites/all/modules/invoice/invoice_helpers.inc).
I've looked at invoice_helpers.inc and there's no reference to floorstyle anywhere. That was the name of our template, which was deleted during the update, and for the life of me I can't find where it's referring to? Help? I've deleted index files and cache, to no avail.

ToursandTales’s picture

I've just upgraded our Invoice version (automatic update) and am getting this error message:
Notice: Undefined index: floorstyle in _invoice_get_variable() (line 587 of ../sites/all/modules/invoice/invoice_helpers.inc).
I've looked at invoice_helpers.inc and there's no reference to floorstyle anywhere. That was the name of our template, which was deleted during the update, and for the life of me I can't find where it's referring to? Help? I've deleted index files and cache, to no avail.