Gravity PDF
Missing argument 2 for wpdb::prepare() (4 posts)

  1. ashbryant
    Posted 2 years ago #


    When trying to view the pdf from the admin area I get this error

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/WEBSITE/public_html/wp-content/plugins/gravity-forms-pdf-extended/pdf.php on line 159 and defined in /home/WEBSITE/public_html/wp-includes/wp-db.php on line 990
    Unable to stream pdf: headers already sent

    Any ideas why?

    I'm using your demo form that the plugin creates as a test.


  2. S. Book
    Posted 2 years ago #

    There's an easy quick-fix for this by adding an empty array argument to the function call


  3. Blue Liquid Designs
    Plugin Author

    Posted 2 years ago #

    Hi ashbryant,

    I haven't started testing with WordPress 3.5 yet which is why there's this error. S. Book seems to have provided the answer though.

    I'll be looking at releasing a WP3.5 compatible update in the next few weeks.

  4. ashbryant
    Posted 2 years ago #

    @S. Book I'll take a look today at that. Thanks.

    @Blue Liquid Designs - I'll look forward in seeing the update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity PDF
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic