• Hi,

    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.

    http://wordpress.org/extend/plugins/gravity-forms-pdf-extended/

Viewing 3 replies - 1 through 3 (of 3 total)
  • There’s an easy quick-fix for this by adding an empty array argument to the function call

    Source

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    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.

    Thread Starter Ash

    (@ashbryant)

    @s. Book I’ll take a look today at that. Thanks.

    @blue Liquid Designs – I’ll look forward in seeing the update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing argument 2 for wpdb::prepare()’ is closed to new replies.