[wp-trac] [WordPress Trac] #29217: HHVM Fatal error with hash_equals() on WordPress 3.9.2

WordPress Trac noreply at wordpress.org
Fri Aug 15 11:21:52 UTC 2014


#29217: HHVM Fatal error with hash_equals() on WordPress 3.9.2
---------------------------+-----------------------------
 Reporter:  kinstahosting  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  3.9.2
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The hash_equals() function introduced in r29382 causes lots of fatal
 errors with HHVM 3.2. It usually happens with custom themes and/or
 plugins, log says:

 {{{
 \nFatal error: Argument 2 passed to hash_equals() must be an instance of
 string, null given in /var/www/xyz.com/wp-includes/pluggable.php on line
 1662
 }}}

 PHP fails but only issues a warning in these cases, HHVM on the other hand
 dies.

 Is there something we can do about this, or should I pursue a request for
 the HHVM team to change it from fatal error to a warning too?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29217>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list