Multiple light pixel Shader in GLSL
From the error message the problem is in line 24 of your fragment shader:

vec3 transformedNormal = normalize(normalMatrix * normal);


normalMatrix is a mat4 but normal is a vec3. 

The solution is to make normalMatrix a mat3 instead.