Use of PHP's create_function() has been deprecated in PHP 7.2 and should not be used anymore. This module uses it in the main .module file for a custom sort function.
Two choices:
1) Use the new method for declaring anonymous functions:
$func = function () { ... };
2) Make the sort function a real function.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | views-bulk-operations-php7-compat-2946220.patch | 1020 bytes | bkosborne |
Comments
Comment #2
joelpittethttp://php.net/manual/en/functions.anonymous.php Anonymous functions require 5.3, I'd rather not up the PHP version, so #2 sounds like a better plan, want to provide a patch @bkosborne?
Comment #3
bkosborneAgreed. Yes, I can do that, probably within a few days.
Comment #4
bkosborneComment #6
joelpittetThanks @bkosborne, I've committed this to the dev branch.