[wp-trac] [WordPress Trac] #39169: Error 500 after 4.7 update.

WordPress Trac noreply at wordpress.org
Wed Dec 7 23:25:57 UTC 2016


#39169: Error 500 after 4.7 update.
--------------------------+-----------------------------
 Reporter:  wurdey        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I was having the same issue, and I believe it might be an actual bug in
 wordpress.

 The issue is in wp-includes/object-cache.php. If APC is not enabled in
 php, wordpress sets “_wp_using_ext_object_cache” to false, but also
 manually adds a filter to
 $GLOBALS[‘wp_filter’][‘all’][-100][‘apc_not_actually_running’]. And I
 think the problem is that it adds it as an array.

 so, on wp-includes/plugin.php it calls $wp_filter[‘all’]->do_all_hook(
 $args );

 This fails because $wp_filter[‘all’] is an array, so there’s no
 do_all_hook

 I uncommented the line that sets the filter in object-cache.php (line 667
 in the latest version of wp) and my install now works.

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


More information about the wp-trac mailing list