Hello all,
I've got an error with my M2 2.3.3, only for some customers, when I'm printing invoice :
[2020-05-14 18:07:50] main.ERROR: Warning: Invalid argument supplied for foreach() in /var/www/magento/vendor/magento/module-sales/Model/Order/Pdf/AbstractPdf.php on line 710 [] []
Is someone has an idea from the root cause of this bug ?
Hello @jonas_solutions
Please have look for arguments which you are passing in foreach it seems going null for few customers. Please validate if created pdf have valid data to print a pdf. you can debug foreach arguments for those customers what you are getting to know the exact issues.