Drupal 7.2

Installed Libraries module.
Installed geshi library + placed in the /sites/all/libraries folder.
Enabled geshifilter.
Visited admin/config/content/geshifilter, and got:

Fatal error: Call to undefined function libraries_load() in /sites/all/modules/contrib/geshifilter/geshifilter.admin.inc on line 61

Comments

yuriy.babenko’s picture

Version: 7.x-1.0-beta1 » 7.x-1.0

Upgraded to geshifilter 7.x-1.0, same issue.

May be related to #1049208: PHP error when going to /admin/config/content/formats/xxx?

yuriy.babenko’s picture

Enabled the geshifilter for the Full HTML input format, added some code to a node and viewed it - got the same error:
Fatal error: Call to undefined function libraries_load() in /sites/all/modules/contrib/geshifilter/geshifilter.inc on line 18

FYI, I'm using Libraries 1.0

yuriy.babenko’s picture

Got things to work by installing 7.x-2.x-dev. Had a few errors that complained about the 'cache_libraries' table missing, so I had to manually create that one. Seems to be working fine now.

soxofaan’s picture

Status: Active » Closed (duplicate)

duplicate of #1147050: Drupal Libraries API Enabled but still get fatal error with libraries_load()

as noted on the project page: you have to use version 7.x-2.x of the Libraries module

bleen’s picture

soxofaan - I understand the libraries2.x requirement ... any way to specify that in your drush make file?

soxofaan’s picture

I'm not a drush make connaisseur (the drush make file contribution wasn't mine and I've never actually used it myself).

The drush make file seems to specify libraries2:

projects[libraries] = 2

but I don't really know how this works

Anonymous’s picture

I received PHP Fatal error: Call to undefined function libraries_load() in geshifilter.inc on line 18.

Although was using libraries-7.x-1.0 as opposed to required development version specified.

Jerimee’s picture

Same problem:

I received PHP Fatal error: Call to undefined function libraries_load() in geshifilter.admin.inc on line 61.

Wasn't using the development version of libraries. Installed that and now it seems to work.