0

I have installed a plugin (SignMeUp) for the user registration, and according to the documentation the registration function inside my User Controller has to look something like this:

public function register() {
    $this->SignMeUp->register();
}

Looking at the $this->data array inside this function shows that everything is working fine. However, when I use

debug($this->data);

inside the registration() function of the plugin (the one I just directed my function to), the array is empty. Somehow the data doesn't get passed on. What could be the cause?

Cos
  • 1,649
  • 1
  • 27
  • 50
  • 1
    Resolved! This can be solved by replacing all the $this->data occurences in the SignMeUpComponent with $this->controller->request->data – Cos Sep 23 '12 at 12:52

1 Answers1

0

Resolved! This can be solved by replacing all the $this->data occurences in the SignMeUpComponent with $this->controller->request->data

It's a change from Cake 1.3 to Cake 2.x

Cos
  • 1,649
  • 1
  • 27
  • 50