workerman
首页
问答
分享
手册
市场
赞助
webman
AI
搜索
+
发布
提问
分享
webman插件
webman应用
登录
注册
Call to a member function add() on null
752585957w
更新于2020-01-03
调用Client发送消息提示这个问题
2744
1
0
1
个回答
xiuwang
2020-01-03
用的啥client?
workerman的相关组件一般需要在workerman的运行环境才能使用。你这个是TP环境,不是workerman运行环境,所以用不了。
暂无评论
相似问题
Call
to
a
member
function
connection()
on
null
Call
to
a
member
function
connection()
on
null
Call
to
a
member
function
publish()
on
null
Call
to
a
member
function
connection()
on
null
Error:
Call
to
a
member
function
connection()
on
null
Error:
Call
to
a
member
function
send()
on
null
in
年代过于久远,无法发表回答
月贡献榜
1
walkor
🚀
2
nitron
3
Tinywan
♨️ 请叫我 webman 推广大使
4
SillyDog
5
Gin
赞助商
+成为赞助商
热门问答
使用workerman加速任意项目
你们都用什么编辑器写代码啊!
webman占用了很多mysql 连接数!
🚀 将webman打包成二进制,PHP也可以打包成二进制了
自定义目录会不会被常住内存
webman 多进程业务锁,并发测试 重复记录?
异常日志一直输出直接跑满磁盘
nginx反向代理webman高并发偶发502[已解决]
🚀 PHP静态文件下载-无需编译PHP环境
【建议】webmem&webmen-admin能否分Laravel和ThinkPHP版本
app,小程序,H5聊天源码
语音|视频|文字聊天
客服系统源码
小程序客服|h5客服|网页客服
×
Close
编辑答案
🔝
请作者喝咖啡
×
用的啥client?
workerman的相关组件一般需要在workerman的运行环境才能使用。你这个是TP环境,不是workerman运行环境,所以用不了。