Title: [BUG] HHVM Compatibility
Last modified: September 1, 2016

---

# [BUG] HHVM Compatibility

 *  [Pratham](https://wordpress.org/support/users/pratham2003/)
 * (@pratham2003)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/bug-hhvm-compatibility/)
 * Catchable fatal error: Argument 3 to hash_hmac() must be of type ?string, bool
   given in ……./wp-content/plugins/accesspress-social-counter/accesspress-social-
   counter.php on line 247
 * [http://php.net/manual/en/function.hash-hmac.php](http://php.net/manual/en/function.hash-hmac.php)
 * Please fix in next update.
 * [https://wordpress.org/plugins/accesspress-social-counter/](https://wordpress.org/plugins/accesspress-social-counter/)

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

 *  Plugin Author [Access Keys](https://wordpress.org/support/users/access-keys/)
 * (@access-keys)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/bug-hhvm-compatibility/#post-7670725)
 * Hello there,
 * Thank you for notifying the issue.
 * Can you please mention in which PHP version you are getting this error?
 * Are you getting this error after the update of the wordpress to version 4.6?
 * Thanks
 *  Thread Starter [Pratham](https://wordpress.org/support/users/pratham2003/)
 * (@pratham2003)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/bug-hhvm-compatibility/#post-7670726)
 * Hi,
 * I’m actually getting this error on HHVM ( [http://hhvm.com/](http://hhvm.com/)).
   Its a drop in replacement for the general PHP interpreter. (I think it has a 
   bit stricter type checking in some things e.g. hash_hmac)
 * But even if we are not getting an error on the normal PHP if you see the type
   of accepted parameters in the hash_hmac function ( [http://php.net/manual/en/function.hash-hmac.php](http://php.net/manual/en/function.hash-hmac.php))
   
   You’ll notice that the 3rd parameter is of type String. **string hash_hmac ( 
   string $algo , string $data , string $key [, bool $raw_output = false ] )** Whereas
   the plugin supplies a Boolean value.

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

The topic ‘[BUG] HHVM Compatibility’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accesspress-social-counter_c5dee5.
   svg)
 * [AccessPress Social Counter](https://wordpress.org/plugins/accesspress-social-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accesspress-social-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accesspress-social-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/accesspress-social-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accesspress-social-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accesspress-social-counter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pratham](https://wordpress.org/support/users/pratham2003/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/bug-hhvm-compatibility/#post-7670726)
 * Status: not resolved