Thread Starter
temmes
(@temmes)
btw…
under status all checks are green except:
opcache and GMagick or IMagick
with WP-DEBUG true I get ths message when viewing an order in admin.
Notice: Trying to get property of non-object in /home/xxxxxx/public_html/xxxxxx/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php on line 304
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxx/public_html/xxxxx/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:304) in /home/xxxxx/public_html/xxxxx/wp-includes/pluggable.php on line 1121
Plugin Contributor
Ewout
(@pomegranate)
Hello Temmes,
Thank you very much for this information. I have received a few other reports from people that had issues with the invoice not attaching, and I believe that the error log you posted might hold the key to this issue. This is very useful, because I have not been able to replicate this before!
I will investigate to see how to prevent that error – it happens on a piece of code that should prevent the plugin from trying to attach the invoice to woocommerce stock notification emails, but this may be incompatible with some configurations. Which version of WooCommerce are you running?
Ewout
Plugin Contributor
Ewout
(@pomegranate)
@temmes,
Can you test the development version of the plugin so see if it solves your problems with the invoice not attaching and the headers already sent?
You can find it here:
https://wpovernight.com/woocommerce-pdf-invoices-packing-slips.zip
Thanks in advance!
Kind regards,
Ewout
Thread Starter
temmes
(@temmes)
Ewout.
I installed the dev version and it all seems to work fine now…
Plugin Contributor
Ewout
(@pomegranate)
Thanks, glad to hear that! Just for the record, which version of WordPress and WooCommerce are you using?
Thread Starter
temmes
(@temmes)
WC Version: 2.1.12
WC Database Version: 2.1.12
WP Version: 3.9.2
I tried upgrade to WC newer but worked out real bad. So I wait till they have things sorted out better. Same for Wp 4