fill array only if From has errors

to avoid the empty array to be display in  the variable panel