Hello!
After integration with Libraries API module REST Server sub-module depends on libraries_load() function, but it was introduced only in Libraries 2.x branch. In case we're trying to enable REST Server with Libraries 1.x, we'll face PHP fatal error, and some parts of our site will go away. Proposed resolution is simple - to modify REST Server's dependency to Libraries 2.x branch from Libraries in general.

Comments

renat’s picture

Status: Active » Needs review
StatusFileSize
new385 bytes

And the patch:

irous’s picture

I have to say this caught me big time as well. I was using the v1.x Libraries api and Services with a REST server fine until the latest update.

It would be useful if the Services project page or readme mentioned somewhere that you need Libraries API v2.x if you want to use the REST server.

kylebrowning’s picture

Status: Needs review » Fixed

Thanks.

stupiddingo’s picture

Same issue here, using the older Libraries module with the latest Services release borked most of the site. Updating the Libraries dependency restored order! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

spleshka’s picture

Status: Closed (fixed) » Reviewed & tested by the community

Same issue: I used libraries 1.0 and got this error. Please, commit this patch to module. It looks like RTBC.

kylebrowning’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This has already been committed.