The error was missing _construct() in my model