Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal throws a fatal error: Call to undefined function module_invoke_all() in /modules/contrib/libraries/libraries.module on line 116
This is due to
function libraries_scan_info_files() {
...
$directories = module_invoke_all('libraries_info_file_paths');
...
module_invoke_all appears to have been replaced by the ModuleHandler::invokeAll() method
Comment | File | Size | Author |
---|---|---|---|
#1 | 2302457-module_invoke_all-1.patch | 514 bytes | jyee |
Comments
Comment #1
jyee CreditAttribution: jyee commentedpatch attached.
Comment #2
tstoecklerSorry, I just committed the patch from #2309203: Replace Module system functions with module_handler service and now saw this issue, even though this one is older. The good news is that it's now fixed in 8.x-3.x the bad thing is that due to that you didn't get any commit credit for the patch. Sorry about that.
It's still very much appreciated that you care about Libraries API in D8, though! Thanks!
Comment #4
tstoecklerComment #5
jyee CreditAttribution: jyee commentedWorking code > getting credit. Thanks for your work on the module!