Using bake got Notice: Notice (8): Undefined offset: 0


#1

I am using Cake PHP 3.5 Red Velvet, I am using bake on very simple tables and got Notice: Notice (8): Undefined offset: 0
command used is: cake bake all tareas,
Here is how I created the tables:
CREATE TABLE “tareas” (
“id” serial NOT NULL,
“nombretarea” char(30) NOT NULL,
“fechacreacion” TIMESTAMP(6) NOT NULL,
“fechaultmod” TIMESTAMP(6) NOT NULL,
CONSTRAINT tareas_pk PRIMARY KEY (“id”)
) WITH (
OIDS=FALSE
);
CREATE TABLE “consultores” (
“id” serial NOT NULL,
“nombre” char(50) NOT NULL,
“telefono” char(15) NOT NULL,
“mail” char(50) NOT NULL,
“centrocosto_id” int NOT NULL,
“nivel_consultore_id” int NOT NULL,
“fechacreacion” TIMESTAMP(6) NOT NULL,
“fechaultmod” TIMESTAMP(6) NOT NULL,
CONSTRAINT consultores_pk PRIMARY KEY (“id”)
) WITH (
OIDS=FALSE
);

CREATE TABLE “proyectos” (
“id” serial NOT NULL,
“descripcion” char(50) NOT NULL,
“nombrecorto” char(20) NOT NULL,
“cliente_id” int NOT NULL,
“horaspactadas” int NOT NULL,
“fechacreacion” TIMESTAMP(6) NOT NULL,
“fechaultmod” TIMESTAMP(6) NOT NULL,
CONSTRAINT proyectos_pk PRIMARY KEY (“id”)
) WITH (
OIDS=FALSE
);

Can you point me what I am doing wrong?

Thanks in advance


#2

Is there a stack trace on that error?