I'm getting a "Cannot call method "split" of null ...
# general
j
I'm getting a "Cannot call method "split" of null (INVOCATION_WRAPPER#26)" error when printing picking tickets with an Advanced PDF template. It isn't happening for all orders and it's not customer specific. I'm sure this is a long shot, but hoping someone has dealt with this as well and can point me towards a direction to investigate further. I can go into the sales order and "edit" then "save" without changes and then it'll work. Not an ideal solution when trying to mass print and there may be 1 or many in a batch of 100 that fails the entire batch print request.
d
you'll need to have a look at the advanced PDF template being used to print the picking tickets, there'll be a
?split
somewhere being called on something that doesn't exist (potentially on line #26, but I would doubt it). Post the relevant code here or over on #C466X49JB and we should be able to help point you in the right direction.
ah, have just seen Anthony's response. Let us know how you get on 👍