The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Pie Register
[resolved] Missing argument 2 for wpdb::prepare() (3 posts)

  1. HiddenDriver
    Posted 3 years ago #

    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?


  2. johnibom
    Posted 3 years ago #


    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.


  3. ubaidullahbutt
    Posted 3 years ago #

    Hi johnibom sir,

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

    Please help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic