Fatal error: Call to undefined function libraries_get_path()

Created on 18 June 2018, over 6 years ago
Updated 13 February 2023, almost 2 years ago

Currently it is necessary to enable libraries to be able to enable iban_validator.

see also https://www.google.de/search?q=drupal+Error%3A+Call+to+undefined+functio...

Otherwise Im getting

$ drush en iban_validator
Error: Call to undefined function libraries_get_path() in                [error]
iban_validator_requirements() (line 17 of
/var/www/html/web/modules/contrib/iban_validator/iban_validator.install)
#0 [internal function]: iban_validator_requirements('install')
#1
/var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(391):
call_user_func_array('iban_validator_...', Array)
#2 /var/www/html/web/core/includes/install.inc(1007):
Drupal\Core\Extension\ModuleHandler->invoke('iban_validator',
'requirements', Array)
#3 /var/www/html/vendor/drush/drush/commands/pm/pm.drush.inc(1121):
drupal_check_module('iban_validator')
#4 /var/www/html/vendor/drush/drush/includes/command.inc(422):
drush_pm_enable_validate('iban_validator')
#5 /var/www/html/vendor/drush/drush/includes/command.inc(231):
_drush_invoke_hooks(Array, Array)
#6 /var/www/html/vendor/drush/drush/includes/command.inc(199):
drush_command('iban_validator')
#7 /var/www/html/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67):
drush_dispatch(Array)
#8 /var/www/html/vendor/drush/drush/includes/preflight.inc(66):
Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#9 /var/www/html/vendor/drush/drush/drush.php(12): drush_main()
#10 {main}.
[18-Jun-2018 00:25:03 UTC] Error: Call to undefined function libraries_get_path() in /var/www/html/web/modules/contrib/iban_validator/iban_validator.install on line 17 #0 [internal function]: iban_validator_requirements('install')
#1 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(391): call_user_func_array('iban_validator_...', Array)
#2 /var/www/html/web/core/includes/install.inc(1007): Drupal\Core\Extension\ModuleHandler->invoke('iban_validator', 'requirements', Array)
#3 /var/www/html/vendor/drush/drush/commands/pm/pm.drush.inc(1121): drupal_check_module('iban_validator')
#4 /var/www/html/vendor/drush/drush/includes/command.inc(422): drush_pm_enable_validate('iban_validator')
#5 /var/www/html/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#6 /var/www/html/vendor/drush/drush/includes/command.inc(199): drush_command('iban_validator')
#7 /var/www/html/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#8 /var/www/html/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#9 /var/www/html/vendor/drush/drush/drush.php(12): drush_main()
#10 {main}
Error: Call to undefined function libraries_get_path() in iban_validator_requirements() (line 17 of /var/www/html/web/modules/contrib/iban_validator/iban_validator.install).
🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇩🇪Germany hanness

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024