That sounds as if you forgot to declare vecTime. The following line is already there:
Code:
float4 vecLightColor[8];


Right after that line insert:
Code:
float4 vecTime;


Does that fix the error message?


Always learn from history, to be sure you make the same mistakes again...