Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2014 at 12:26 UTC
Updated:
29 Jul 2014 at 23:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottSimplest fix is just to check if the
apc_delete_file()exists.Comment #2
catchComment #3
sunOh wow... What a nice prime example of how a convenience backwards-compatibility layer can backfire!
Btw, given the slightly bogus error message, I wonder whether the function calls shouldn't actually be prefixed with
\?Comment #4
sunQuickly did so.
Comment #6
webchickI hadn't really seen us doing that \ prefixing of procedural functions before. sun said the reason that would be beneficial is you'd avoid it getting confused and thinking the missing function is in Drupal\Component\Utility\ namespace vs. the root. ("Call to undefined function Drupal\Component\Utility\apc_delete_file()"..) However, since the problem is now fixed I don't think we need that anymore.
Committed and pushed #1 to 8.x. Thanks!