Title: Fatal error: Call to undefined function hash_init()
Last modified: August 21, 2016

---

# Fatal error: Call to undefined function hash_init()

 *  [lenashore](https://wordpress.org/support/users/lenashore/)
 * (@lenashore)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-hash_init/)
 * Hi! I just found Wordfence (through a friend’s recommendation) and am excited
   to use it. I am getting this error:
 * Fatal error: Call to undefined function hash_init() in /home/xxxx/wp-content/
   plugins/wordfence/lib/wordfenceHash.php on line 343
 * I am using php 5.2.17 and I did enable hash:
 * hash support => enabled
    Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512
   ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3
   tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 
   haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 
   haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
 * I tried uninstalling and reinstalling Wordfence, but I am still seeing this error
   at the top of my “live traffic” page.
 * Any ideas?
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mark Maunder](https://wordpress.org/support/users/mmaunder/)
 * (@mmaunder)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-hash_init/#post-4696316)
 * Check your PHP ini file where the function is probably disabled.
 * Regards,
 * Mark.
 *  Thread Starter [lenashore](https://wordpress.org/support/users/lenashore/)
 * (@lenashore)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-hash_init/#post-4696332)
 * Thank you for the idea.
 * The global php.ini settings are showing it is on:
    ; Select a hash function ;
   0: MD5 (128 bits) ; 1: SHA-1 (160 bits) session.hash_function = 1
 * Could I create a new php.ini file in the WordPress files and add some code to
   override something. I also adjusted the MD5 to SHA-1 to see if that helped. I
   then turned the plugin off/on. No luck.
 * Any more ideas?
 *  Thread Starter [lenashore](https://wordpress.org/support/users/lenashore/)
 * (@lenashore)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-hash_init/#post-4696389)
 * I noticed something else. On the same server – another user installs it without
   issue. I checked the permissions and they seem the same.
 * Account 1: two sites. One works, one doesn’t.
    Account 2: One site. Doesn’t work.
 * I thought maybe I had a plugin problem – but I deactivated all the plugins but
   Wordfence and it still didn’t work.
 * ???

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error: Call to undefined function hash_init()’ is closed to new
replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [lenashore](https://wordpress.org/support/users/lenashore/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-hash_init/#post-4696389)
 * Status: not resolved