So I’m knee deep in developing a site for a local chiropractor business and I realize that I need a great Gift Certificate PDF generating tool. Enter FPDF and http://ignitewoo.com/documentation/woocommerce-gift-certificates-pro/. I tested the plugin on TwentyFourteen and it works great! The issue is that that it keeps throwing an error at me when I use the Roots theme.
FPDF error: Some data has already been output, can't send PDF file (output started at /home/eternalw/public_html/blmc/wp-content/themes/blmc/templates/head.php:2)
So my next step was to take a closer look at the code… I’m now 3 hours in and still scratching my head. My best guess is that it’s something with the template hierarchy and that Roots doesn’t play nice with FPDF.
Has anyone else had this issue? Did anyone solve this issue? Any help at all would be super appreciated!