New installation, Drupal 7.14. Ctools, Views, Services, REST server, Statuses installed. When attempting to activate Statuses Services, after I go to the /admin/structure/services page and try to do an "Edit Resources" for the endpoint I've created. I get an error: Notice: Undefined variable: resource in fbss_services_get_resource_params() (line 99 of /sites/all/modules/statuses/submodules/fbss_services/fbss_services.module).

The previous code to this line is:

if (!empty($resource_name) && isset($resources[$resource_name])) {
$resource = $resources[$resource_name];
}

So presumably neither of the test conditions is passed, but since this is the only time the variable $resource would be created, it never gets defined.

Comments

mathankumarc’s picture

Title: When activating the Services submodule for Statuses, an error is produced » Services integration is broken
Status: Active » Postponed

Services integration is not yet ported to D7.

icecreamyou’s picture

Status: Postponed » Postponed (maintainer needs more info)

I don't have time to dig into this right now but actually Services integration should be mostly working I believe and this may just be a minor error. Whether the endpoints we provide via Services are useful is another story...