永夜 Blog

当前端页面请求前端接口响应超时时,有时候响应 504(符合预期),有时候响应 404 (不符合预期)。 0

When the backend interface timeout, sometimes the response of 404 and sometimes the response of 504

浏览量: 13 1. When the front-end interface response timeout of the current page request timeout, sometimes the response is 504 (in line with expectations), and sometimes the response is 404 (not in line with...

报错:[2024-09-28 02:59:09] local.ERROR: preg_replace(): Unknown modifier '�' {"exception":"[object] (ErrorException(code: 0): preg_replace(): Unknown modifier '�' at ) 0

local.error preg_replace() unknown modifier�{exception[object](ErrorException(code 0) preg_replace() unknown modifier�

浏览量: 12 1. Error:[2024-09-28 02:59:09]local.error: preg_replace(): unknown modifier�{“exception”:”[object](ErrorException(code: 0): preg_replace(): unknown modifier�at) [stacktrace]. as shown in Figure 1 2. Check the code implementation 3. View the printed log information 4. The cause is initially...

在 Spatie\QueryBuilder ,报错:Call to undefined method Spatie\\QueryBuilder\\AllowedFilter::endsWithStrict() 0

In spatie\QueryBuilder , an error is reported: call to undefined method spatie\\querybuilder\\AllowedFilter::endsWithStrict()

浏览量: 12 1. In spatie\QueryBuilder, an error is reported: call to undefined method spatie\QueryBuilder\\AllowedFilter::endsWithStrict(). as shown in Figure 1 2. Search in vendor/spatie/laravel-query-builder/src/allowedFilter.php: EndsWithStrict, confirm that the EndsWithStrict method does not exist. 3. Check...