Hi,
I am using Gravity Forms and Gravity PDF to save PDFs of my entries.
Issue is Enfold is causing these PDFs to show up blank. When I change back to the default theme it works just fine.
To duplicate the issue go to Forms>Entries then click View PDF on any of the entries.
Any idea why this is happening?
I just discovered if I activate Enfold without the childtheme it works fine.
Can you think of any reason it is not working with the child theme?
Another update – after a lot of digging I found the final issue! It was with a custom function I had in the functions.php
function callback($buffer) { $buffer = str_replace(‘Group’,’Conference Room’,$buffer); return $buffer; }
function buffer_start() { ob_start(“callback”); } function buffer_end() { ob_end_flush(); }
add_action(‘after_setup_theme’, ‘buffer_start’); add_action(‘shutdown’, ‘buffer_end’);
For some reason this is causing the PDFs to not generate. Do you have any suggestions of what I could do to this code to stop it from breaking Gravity PDF?