Support » Plugin: Manage Notification E-mails » Class PasswordHash not found when adding a user

  • Resolved mwheelermindbox

    (@mwheelermindbox)


    When adding a user in wp-admin I get this error:

    Uncaught Error: Class ‘PasswordHash’ not found in […]plugins/manage-notification-emails/includes/pluggable-functions-1.3.php:225

    I’ve disabled every other plugin and changed the theme to twenty-nineteen and I still get the error. I am using version 1.4.2 of the plugin and WordPress 5.2.2.

    If I edit the plugin file to force it to use pluggable-functions-1.2.php I am able to add a user without the error, but that obviously is not a viable solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Virgial

    (@virgial)

    @mwheelermindbox did you manage to fix the problem? The Class ‘PasswordHash’ is a core class of WordPress. If this file is missing then probably the WordPress installation has failed and the file with the passwordhash class is missing in your installation. This file is called within the plugin only if it’s not loaded yet by Worpress. (require_once ABSPATH . WPINC . ‘/class-phpass.php’;). Please check if the file ‘class-phpass.php’ is available in your wp installation. Hopefully this helps you to solve your problem.

    mwheelermindbox

    (@mwheelermindbox)

    @virgial Thanks for following up. I’ve been out for a couple weeks or would have followed up sooner. Everything looks OK to me in terms of WordPress files. The site in question is using Trellis, which changes the hierarchy of WordPress files a bit, but everything works normally (usually).

    I noticed another user mentioned the same issue recently and you linked to 1.5 of the plugin. I tried that and it looks to have solved the problem! Thanks again for your help and your plugin!

    Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.