Currently browsing tag: count()

建立WordPress独立站的经验和实用技巧分析,以及WP独立站SEO搜索引擎优化方法

修复PHP7.2以上版本Count()错误

最近因为更新wordpress5.2 经常出现代码报错,所以打开了DEBUG,在文章页面上出现了Warning: count(): Parameter must be an array or an object that implements Countable in post-template.php 310 行错误。 我不是技术人员,但不希望错误,Google查阅后,自己修改后就不再报错了。