Jump to navigation Skip to content
Something is overriding config in Drupal - you can see it by invoking drush with and without the flag to include overrides:
PHP's create_function() was:
create_function()
DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0
A few years ago I found quite an interesting vulnerability in a contributed Drupal module called tablefield.
A couple of years ago I was asked to take a look at a Drupal 7 site that was performing poorly where a colleague had spotted a strange function call in an Application Performance Management (APM) system.
This was originally posted on the dev.acquia.com blog.
This is a simple trick which (unless my googlefu simply failed me) I didn't find described anywhere when I had a quick look:
$ drush ev '$file = file_load(21749); var_dump(file_delete($file, TRUE));' bool(true)