Title: PasswordHash help!
Last modified: August 19, 2016

---

# PasswordHash help!

 *  [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * (@iperez_genius)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/passwordhash-help/)
 * When i try to run the following code i get an error.
 *     ```
       global $wpdb, $wp_hasher;
       $wp_hasher = new PasswordHash(8, TRUE);
       ```
   
 * Fatal error: Class ‘PasswordHash’ not found in …/header.php on line 45
 * What am i doing wrong. What else do i need to do to get this to work?
 * Ilan

The topic ‘PasswordHash help!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/passwordhash-help/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
