WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. HiddenDriver
    Member
    Posted 1 year ago #

    Hello,
    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?

    http://wordpress.org/extend/plugins/pie-register/

  2. johnibom
    Member
    Posted 1 year ago #

    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.

    Thanks

  3. ubaidullahbutt
    Member
    Posted 10 months 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