WordPress.org

Forums

External Database Authentication Reloaded
Warning: mysql_fetch_assoc() (2 posts)

  1. NoMiaus
    Member
    Posted 1 year ago #

    Hello! I'm receiving this error message on the login page. The plugin is working, but I see this message:

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in .. /wp-content/plugins/external-db-auth-reloaded/pp_db_auth.php on line 385

    Thanks!

    http://wordpress.org/plugins/external-db-auth-reloaded/

  2. shadim
    Member
    Posted 1 year ago #

    On line 385 add an if statement to check the value of $sql, like so:

    if($sql) {
    $row = mysql_fetch_assoc( $sql );
    }

    This will remove the warning.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • External Database Authentication Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic