問題描述 項(xiàng)目是正常運(yùn)行的,平常也使用phpstorm 上傳文件,今天使用 phpstorm 上傳代碼后就立即報(bào)錯(cuò)了,Error while injecting dependencies into app\strategy\StrategyFactory: No entry or class found for 文件名稱 ; process配置是這樣子的 后面是重新執(zhí)行了命令 reload 報(bào)錯(cuò)才停止,有沒有什么辦...
queue redis 的 onConsumeFailure捕獲不到異常信息,不多說上代碼; <?php namespace app\queue\redis; use app\exceptor\custom\ParamException; use GuzzleHttp\Exception\ServerException; use support\Container; use support\Log; use...
問題描述 使用workerman 的channel服務(wù)有時(shí)候會(huì)提示擴(kuò)展的server下的 unserialize(): Error at offset 0 of 160 bytes 看代碼報(bào)錯(cuò) 提示的代碼如下: 2025-05-30 06:55:45 pid:349529 worker[plugin.webman.channel.server:349608] exit with status 64000 2025-0...
問題描述 每次使用phpstorm上傳代碼后,寶塔的CPU占用就達(dá)到了100,有沒有解決方案。 使用phpstorm 的remote host 綁定服務(wù)器后,上傳的代碼,每次上傳完,寶塔顯示的CPU就爆滿了,不知道哪里配置有問題,有沒有大佬可以解決。 如下截圖是寶塔的CPU顯示。 新增查看進(jìn)程占用比 ...
問題描述 我想批量操作數(shù)據(jù)庫更新一下相關(guān)字段的值,如果數(shù)據(jù)不存在就插入,存在就更新字段,使用了model下的方法,卻提示未定義。 Call to undefined method app\statistics\model\AverageModel::upsert() 這里詳細(xì)描述問題 我的使用代碼 系統(tǒng)的model下 看model下面是有這個(gè)方法的,但是使用不了,請問怎么使用? 或者有沒有替換的方法,數(shù)據(jù)量有好幾...