Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    This error happens when there’s faulty HTML in the template – the PDF engine (which is a third party library) then crashes and gives this error (I wish it would fail a little more gracefully with a better error message…).

    Did you make any modifications to the template? If you output to HTML instead of PDF, you should probably be able to get a more descriptive error message or at least find out where the faulty HTML comes from. Place these two lines in your functions.php file to output to HTML:

    add_filter( 'wpo_wcpdf_output_html', '__return_true' );
    add_filter( 'wpo_wcpdf_use_path', '__return_false' );

    Let me know what you find! If you don’t see anything strange yourself, email the output source (save the HTML from your browser) to [email protected] and I’ll try to see if I can find anything.

    Plugin Contributor Ewout

    (@pomegranate)

    @printnet, did you manage to find the cause of this error?

    Plugin Contributor Ewout

    (@pomegranate)

    I’m closing this ticket due to inactivity, if you still need help resolving this issue, let me know!

    Ewout

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined error’ is closed to new replies.