Fix Notice: Array to string conversion