代码拉取完成,页面将自动刷新
\crmeb\services\UploadService\setUploadInfo()的一处错误,会导致生成推广海报图片时报错:count(): Parameter must be an array or an object that implements Countable
此问题原因是在第381行:
if (is_array($headerArray['Content-Type']) && count($headerArray['Content-Length']) == 2) {
当“Content-Length”是数字时,此行会报错:count(): Parameter must be an array or an object that implements Countable
应该是笔误了。
改为:if (is_array($headerArray['Content-Length']) && count($headerArray['Content-Length']) == 2) {
就没问题了。