WordPress.org

Ready to get started?Download WordPress

Forums

LDAP Authentication 2
Call-time pass-by-reference has been removed (2 posts)

  1. rudomilov
    Member
    Posted 1 year ago #

    I have got an error:

    Fatal error: Call-time pass-by-reference has been removed in /var/www/localhost/htdocs/wp-content/plugins/ldap-authentication-2/simple-ldap-authentication.php on line 96

    http://wordpress.org/extend/plugins/ldap-authentication-2/

  2. Nowell VanHoesen
    Member
    Posted 1 year ago #

    on line 96 of that file:

    $uid_filter = str_replace('%user_id%', $username, $uid_filter, &$replace_count);

    removing the '&' should take care of the error:

    $uid_filter = str_replace('%user_id%', $username, $uid_filter, $replace_count);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.