Monthly Archive: September 2024

报错:[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�

浏览量: 17 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()

浏览量: 15 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...

在 Spatie\QueryBuilder ,请求参数中包含 "," 报错:SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens (SQL: select count(*) as aggregate from `table` where `table`.`shipping_type` = 2 and `shipping_at_gmt` >= 2024-05-21 08:54:14 and `shipping_at_gmt` 0

In spatie\QueryBuilder , the request parameter contains “,” error: sqlstate[HY093]: Invalid parameter number: number of bound variables not match number of tokens

浏览量: 14 1. In Spatie\QueryBuilder , the request parameter contains “,” error: sqlstate[HY093]: Invalid parameter number: number of bound variables not match number of tokens (SQL: select count(*) as aggregate from `table` where `table`.`Shipping_type`...