Private Messages For WordPress
Bug in v. 2.1.10 (email cannot be sent) (2 posts)

  1. lupolio
    Posted 3 years ago #

    I found a bug in the latest version that let to problems when sending emails.

    Line 120 in 'inc/send-page.php' is:
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE display_name = '$rec'" );

    must be:
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE user_login = '$rec'" );

    you set $rec to the user_login value in line 74.

    Wondering if that problem only appears for my installation?!


  2. Thanatermesis
    Posted 2 years ago #

    8 months ago and the problem is not fixed yet ???

    Thanks, it worked for me after to change this too, but, why there's 8 months without it fixed? i cannot use this plugin as this way (what happens if i update the plugin ? the modification is lost? needed to add it again? )

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Private Messages For WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.