PHP8.x中出现警告Warning: Attempt to read property “id” on null in 原因分析 在PHP 8.x 中出现 "Warning: Attempt to read property 'id' on null" 警告的原因是你的代码中尝试在一个空值(null)上读取属性 "id... 2023年9月17日编程开发709评论 阅读全文