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.
If i add a new template and try to make an invoice through it instead of the Default, I only get a WSOD.
The node appears to be created but it's impossible to access it. You only get a white screen. No error messages in the console.
PHP error_log [23-Feb-2014 23:27:32] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ..sites/all/modules/invoice/invoice_api.inc on line 301
Comments
Comment #1
tusik CreditAttribution: tusik commentedComment #2
tomhung CreditAttribution: tomhung commentedYou must change the name of the function in your new template's .inc file.
function _invoice_[yourfilename_here]_get_template_output($invoice, $type = NULL) {
Comment #3
tomhung CreditAttribution: tomhung commented