Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.19
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2018 at 10:34 UTC
Updated:
2 May 2018 at 03:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ZalemCitizen commentedSame here, except I'm running PHP 5.6 so the error looks like :
Critical because it prevents to empty theme registry cache.
Apparently, removing array type for 1st argument make the trick, then fall back to original version of registry.inc
Comment #3
alexandersluiter commentedIs there a patch for this? I'm running PHP 7.0.x with this same problem.
Comment #4
vzsigmond commentedIn some cases $registry[$hook][$phase_key] was null, and _bootstrap_registry_sort_phase_functions() takes this as an argument by reference. Patch attached. Still requires testing for side effects.
Comment #5
alexandersluiter commentedOnce the patch is applied, I'm getting Uncaught Error: Call to undefined function menu_get_object() in /var/www/vhosts/mywebsite.com/httpdocs/includes/theme.inc:2580. Most pages load fine...but every few pages the user will get a WSOD. Thoughts?
Comment #6
vzsigmond commented@alexandersluiter: all this happens after you apply the patch and clear the cache? I had no similar issue.
Comment #7
markhalliwell