Trying to access array offset on value of type int
klynxyo opened this issue · 2 comments
klynxyo commented
- Your software version (Screenshot of your startup)
+---------------------------+---------+
| Component | Version |
+---------------------------+---------+
| PHP | 7.4.33 |
| Swoole | 4.8.12 |
| LaravelS | 3.7.36 |
| Laravel Framework [local] | 5.8.38 |
+---------------------------+---------+
hhxsv5 commented
// 你检查下config/laravels.php配置,确定配置的层级结构是下面这样的
// ...
'sockets' => [
[
'host' => '127.0.0.1',
'port' => 5291,
'type' => SWOOLE_SOCK_TCP,
'settings' => [
'open_eof_check' => true,
'package_eof' => "\r\n",
],
'handler' => \App\Sockets\TestTcpSocket::class,
'enable' => true,
],
],
hhxsv5 commented
@develop-kevin 你反馈后还有问题后再重开。