Discuz!小编 发表于 2026-8-18 14:19:10

更新缓存报错count(): Argument #1 ($value) must be of type Countable|array, string given New

Discuz! System Error



Time: 2026-08-18 10:12:23 +0800 IP: 27.219.247.81 BackTraceID: fa1a1c932a4b1adf6884417ebf0c15c1


count(): Argument #1 ($value) must be of type Countable|array, string given


PHP Debug


No.
File
Code

1

notemodel->_send()

2
source/class/uc/model/note.php:106
notemodel->sendone()

3
source/class/uc/model/note.php:126
uc_note_handler::deleteuser()

4
source/class/uc/extend_client.php:23
discuz_table_archive->fetch_all()

5
source/class/discuz/discuz_table_archive.php:41
break()






System Info


Version
X5.0.2.Open Release 20260801

OS
Linux / Linux VM-12-8-debian 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64

PHP
8.5.8 fpm-fcgi on nginx/1.30.4

MySQL
8.4.10

Memory
MemCached






1 贡献最佳答案

https://gitee.com/Discuz/DiscuzX ... 02f8e27282e8f5baac0

monkeye发表于4 小时前
[*]详细答案 >

瑾瑜 发表于 2026-8-18 14:19:50



https://gitee.com/Discuz/DiscuzX ... 02f8e27282e8f5baac0

海军大都督 发表于 2026-8-18 14:20:21

【呼吁】请站长们在个人资料页写明自己所用的Discuz版本 - 教程指导 - Powered by Discuz!
https://www.dismall.com/thread-29407-1-1.html

不同的版本代码可能不同,你需要提供足够的信息。
页: [1]
查看完整版本: 更新缓存报错count(): Argument #1 ($value) must be of type Countable|array, string given New