系统发生错误

错误信息:致命错误: Call to a member function toArray() on null