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.
I am receiving a fatal error when I load a page with an mp3player on it.
"Fatal error: Call to undefined function libraries_get_path() in [...]"
It looks like the libraries modules has not been added as a dependency of this module.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2254405-libraries_get_path-undefined-1.patch | 1.57 KB | superspring |
Comments
Comment #1
superspring CreditAttribution: superspring commentedThis patch addresses this issue.
Comment #2
markie CreditAttribution: markie commentedThe Libraries module is a dependency in the .info file. I just tried to enable this module without the libraries module, and it wouldn't enable until I downloaded the libraries module. Once I downloaded the libraries module, the mp3player module loaded without issue. This was off of a fresh checkout of 7.x-2.x. @superspring, can you please do a fresh pull and see if you can replicate this?
Comment #3
shantanu1 CreditAttribution: shantanu1 commentedIf you check https://drupal.org/project/mp3player page you can see "Requirements" section where it is mention that Libraries module is require.
In .info file you can find the dependencies "libraries".
Comment #4
markie CreditAttribution: markie commentedClosing issue.