Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #405527

    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?

    #405544

    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?

    #405563

    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?

    #405678

    Hi!

    Difficult so say, what exactly are you doing with your custom code?

    Cheers!
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.