Buenos días hace una semana actualizamos a la 3.31 nos encontramos con un problema al querer imprimir un curriculum en “Otras actividades” aparece:
Error JS:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Mensaje Server: Unsupported operand types: string - string
El error no ocurre cuando desactivamos la fila que contiene la entidad que contiene un carácter “º”.
Logs del proceso:
[DEBUG][toba] [SECCION] Respondiendo al servicio__ajax…
[DEBUG][mapuche] SELECT (‘2017-10-25’::date + interval ‘1 month’)::date as fecha;
[DEBUG][mapuche] SELECT (‘2014-08-04’::date + interval ‘-1 month’)::date as fecha;
[DEBUG][mapuche] SELECT (‘2014-05-19’::date + interval ‘1 month’)::date as fecha;
[DEBUG][mapuche] SELECT (‘2014-07-03’::date + interval ‘-1 month’)::date as fecha;
[DEBUG][mapuche] SELECT (‘2016-03-08’::date + interval ‘-1 month’)::date as fecha;
[DEBUG][mapuche] SELECT (‘2017-10-25’::date + interval ‘1 month’)::date as fecha;
[CRITICAL][toba] Unsupported operand types: string - string
nuestros php.ini (del cli y apache) tienen un encondig “ISO-8859-1“
y la db de UTF-8.