拉拉维尔在广播通知上给出错误,推送器广播错误



我没有更改 Laravel 通知中的任何代码, 我刚刚更新了我的版本和软件包

现在我收到以下错误 "{ "message": "Type error: 传递给 Illuminate\Database\Grammar::p arameterize() 的参数 1 必须是数组类型,给定整数,在/home/forge/devapi.creatorshub.online/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php 第 681 行调用", "exception": "Symfony\Component\Debug\Exception\FatalThrowableError", "file": "/home/forge/devapi.creatorshub.online/vendor/laravel/framework/src/Illuminate/Database/Grammar.php", "line": 135, "trace": [ { "file": "/home/forge/devapi.creatorshub.online/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php", "line": 681, "function": "parameterize", "class": "Illuminate\Database\Grammar", "type": "->" }, { "function": "Illuminate\Database\Query\Grammars{closure}", "class": "Illuminate\Database\Query\Grammars\Grammar", "type": "->" }, { "file": "/home/forge/devapi.creatorshub.online/vendor/laravel/framework/src/Illuminate/Support/Collection.php", "行": 861, "函数": "array_map" }">

我遇到了同样的问题。就我而言notifications()该方法已在我的模型中被覆盖。此方法已存在于特征Notifiable中。

最新更新