Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Surp CreditAttribution: Surp commentedI confirm this, subscribed.
Comment #2
softmax CreditAttribution: softmax commentedhere the same .. subscribed
Comment #3
Junro CreditAttribution: Junro commentedSame here
Comment #4
supervillain CreditAttribution: supervillain commentedsame error here... fresh D7 and invoice installs.
Comment #5
HansKuiters CreditAttribution: HansKuiters commentedSame here.
But if you go to /admin/config/system/invoice and fill in all the fields, the message is gone.
Comment #6
pietervogelaar CreditAttribution: pietervogelaar commentedThanks for reporting, it's fixed in Git now and will be available in the next development snapshot.
Pieter
Comment #7
pietervogelaar CreditAttribution: pietervogelaar commentedComment #8
ToursandTales CreditAttribution: ToursandTales commentedI'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.
Comment #9
ToursandTales CreditAttribution: ToursandTales commentedI'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.