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.
Unfortunately, it is giving an error:
drush en wysiwyg_codesnippet
PHP Fatal error: Call to undefined function libraries_get_path() in /home/ud/public_html/sites/all/modules/wysiwyg_codesnippet/wysiwyg_codesnippet.install on line 15
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function libraries_get_path() in
/home/ud/public_html/sites/all/modules/wysiwyg_codesnippet/wysiwyg_codesnippet.install, line 15
Comments
Comment #2
nickonom CreditAttribution: nickonom commentedOk, error is gone after enabling the Library module. But then I have to request to add dependency in the module's info file, so that drush command could automatically enable Libraries when requested to enable this module.
Comment #3
kevinquillen CreditAttribution: kevinquillen commentedThe libraries module is listed as a dependency in the info file, I checked a couple of versions and it has appeared to have been there. Does this still happen for you?