Skip to content

CRASH: PasswordHash not loaded when needed #3

@My1

Description

@My1
[23-Oct-2017 08:28:42 UTC] PHP Fatal error:  Uncaught Error: Class 'PasswordHash' not found in /home/my1devcon/public_html/wptest/wp-content/plugins/password-hash-disabled/wp-php-password-hash.php:64
Stack trace:
#0 /home/my1devcon/public_html/wptest/wp-includes/user.php(162): wp_check_password('test', '$P$BzCPKMBr7KO3...', 1)
#1 /home/my1devcon/public_html/wptest/wp-includes/class-wp-hook.php(298): wp_authenticate_username_password(Object(WP_User), 'My1', 'test')
#2 /home/my1devcon/public_html/wptest/wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array)
#3 /home/my1devcon/public_html/wptest/wp-includes/pluggable.php(532): apply_filters('authenticate', NULL, 'My1', 'test')
#4 /home/my1devcon/public_html/wptest/wp-includes/user.php(85): wp_authenticate('My1', 'test')
#5 /home/my1devcon/public_html/wptest/wp-login.php(790): wp_signon(Array, true)
#6 {main}
  thrown in /home/my1devcon/public_html/wptest/wp-content/plugins/password-hash-disabled/wp-php-password-hash.php on line 64

I tried both on my main and test blog, both on 4.8.2 and got server fails, upon investigating I saw that phpass hasnt been loaded yet. #2 has a hotfix for this.

I tried checking for the class and requiring the file if the class isnt loaded. should be enough for a hotfix.

as this is an issue that renders the login unusable, this need to be thrown out quickly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions