I'm trying to send a contact form, which uses the "Contact" model, save the data, but it does not even enter:
if (!empty($this->data)) {
$this->Contato->save($this->data)
}
Give the following error:
"Attempt to access private method in class Error: The users table for the User model was not found. ".
Since the contact model has no connection with users, I'm not even using anything about users as well.