Support » Plugin: Pie Register » Missing argument 2 for wpdb::prepare()

  • Resolved HiddenDriver


    i get the following error after updating a user profile…
    Warning: Missing argument 2 for wpdb::prepare(), called in …/wp-content/plugins/pie-register/pie-register.php on line 1804 and defined in …/wp-includes/wp-db.php on line 990

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-includes/wp-db.php:990) in …/wp-includes/pluggable.php on line 876

    Apparently the plugin should be updated for this version.
    you can find more information here:

    Can you take care of this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    Please do the following:

    1-) Open up piewpnun.php into any text editor
    2-) Goto line number 21 where it reads:
    $plaintext_pass = $wpdb->prepare($_POST[‘user_pw’]);

    3-) Replace this line with the following:
    $plaintext_pass = $_POST[‘user_pw’];

    I hope it helps. Please write me back once you update.


    Hi johnibom sir,

    I’m still getting error, I did as you mentioned above.

    Please help.

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