Fatal error: Call to undefined function libraries_load() in /home/DRUPAL7/sites/all/modules/contrib/geshifilter/geshifilter.module on line 231

This was on the status update page. Is this the recommended version to use?

Comments

boombatower’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Project page says 2.x-dev is that what you are running?

mgifford’s picture

I just did "drush dl geshifilter" saw a critical error and deleted the module. Sorry.

boombatower’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Then probably had 1.x as nothing else explains.

mgifford’s picture

Could be. I'll get back to you if I have a chance to replicate the issue.

Eleyone’s picture

Status: Closed (cannot reproduce) » Active

Sory to re-used closed issue, but I have exactly the same issue.

I did install of these module by the url system. and I also have install Libraries API with the same way.

this is the staktrace i recieved :

PHP Error:
Call to undefined function libraries_load()
_geshifilter_get_available_languages() at /media/DevZone/wwwroot/home/sites/all/modules/geshifilter/geshifilter.inc : 17
_geshifilter_get_enabled_languages() at /media/DevZone/wwwroot/home/sites/all/modules/geshifilter/geshifilter.inc : 51
_geshifilter_get_tags() at /media/DevZone/wwwroot/home/sites/all/modules/geshifilter/geshifilter.inc : 71
_geshifilter_prepare() at /media/DevZone/wwwroot/home/sites/all/modules/geshifilter/geshifilter.pages.inc : 109
geshifilter_prepare_callback() at /media/DevZone/wwwroot/home/sites/all/modules/geshifilter/geshifilter.module : 193
check_markup() at /media/DevZone/wwwroot/home/modules/filter/filter.module : 751
_text_sanitize() at /media/DevZone/wwwroot/home/modules/field/modules/text/text.module : 320
text_field_load() at /media/DevZone/wwwroot/home/modules/field/modules/text/text.module : 160
_field_invoke_multiple() at /media/DevZone/wwwroot/home/modules/field/field.attach.inc : 331
field_attach_load() at /media/DevZone/wwwroot/home/modules/field/field.attach.inc : 694
NodeController::attachLoad() at /media/DevZone/wwwroot/home/includes/entity.inc : 320
NodeController::attachLoad() at /media/DevZone/wwwroot/home/modules/node/node.module : 3862
NodeController::load() at /media/DevZone/wwwroot/home/includes/entity.inc : 204
entity_load() at /media/DevZone/wwwroot/home/includes/common.inc : 7361
node_load_multiple() at /media/DevZone/wwwroot/home/modules/node/node.module : 908
node_page_default() at /media/DevZone/wwwroot/home/modules/node/node.module : 2548
menu_execute_active_handler() at /media/DevZone/wwwroot/home/includes/menu.inc : 501
main() at /media/DevZone/wwwroot/home/index.php : 2

regards.

boombatower’s picture

Status: Active » Postponed (maintainer needs more info)

libraries 2.x-dev? doubtful since http://drupalcode.org/project/libraries.git/blob/refs/heads/master:/libr... clearly contains libraries_load().

aquariumtap’s picture

I ran into this too. If you downloaded the libraries module via drush without specifying a version, you're probably running the 1.0 version. This might get you to where you need to be:

drush pm-uninstall libraries
drush dl libraries-7.x-2.x-dev
drush en libraries
boombatower’s picture

can also use drush make as I have included a make file which will download the proper version of libraries and the geshifilter library from sourceforce.

mgifford’s picture

That worked for me. I do wish I could have been alerted to this when I tried to upgrade mind you. I'd have preferred to have known that it relied on running the dev version of the module.

boombatower’s picture

This is getting old. The module is also stable the only reason hey haven't made release is because they are debating finer points of api. Also note this module is alpha.

explanation

mgifford’s picture

Thanks for the details.

boombatower’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
Higarigh’s picture

I'm still getting the following error:

Fatal error: Call to undefined function libraries_load() in /var/www/drupal7/sites/all/modules/geshifilter/geshifilter.pages.inc on line 214

I use Drupal 7.2 and GeSHi 7.x-1.0-beta1. Can anyone please post the link where I can download the right API Libraries? ;P Thank you!
regards

Higarigh’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.0-beta1
Status: Closed (works as designed) » Active
boombatower’s picture

Status: Active » Closed (works as designed)

As per#10 the link is the project page, simply download the libraries 2.x-dev release.

goldhat’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Closed (works as designed) » Needs work

As far as I can see this issue still exists in 7.x.1.0, I just installed and found the following:

Fatal error: Call to undefined function libraries_load() in /home/smartgoa/public_html/goldhat.ca/sites/all/modules/geshifilter/geshifilter.module on line 231

boombatower’s picture

Status: Needs work » Closed (works as designed)

So you are running libraries 2.x-dev (or alpha releases)? I doubt it.