• Resolved floydio

    (@floydio)


    When I click the button to generate the PDF, I get the console error

    Uncaught (in promise) Error: Unknown source type.
        at Promise.<anonymous> (html2pdf.min.js?ver=1.0.0:6)

    Do I need to add something to my theme or template?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter floydio

    (@floydio)

    Solved my issue. The theme I was using was missing body_class() on the HTML body tag, so the plugin wasn’t finding the page when calling:

    var element = document.getElementsByClassName('wpexperts-page')[0];

    Hi @floydio,

    Thank you for contacting us, It’s nice to hear that your issue is resolved. If you still have any question’s please feel free to ask.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Unknown Source Type’ is closed to new replies.