Skip to content

Empty Data #26

Description

@DieterGribnitz

I also got the issue with the component not returning any data.

On line 306 in the RestComponent the code looks like this:
if (false === ($extract = @$this->settings['actions'][$this->Controller->action]['extract'])) {

To fix the issue replace it with:
if (false === ($extract = @$this->settings['actions']['extract'][$this->Controller->action])) {

There are notices also coming up in new versions of cake.
(Could be )
All functions that use $controller should be referenced as follows:
beforeRender (Controller $Controller) {
instead of
beforeRender (&$Controller) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions