php-crisp-api icon indicating copy to clipboard operation
php-crisp-api copied to clipboard

PHP 8.1 Error while calling findWithSearch()

Open CaMer0n opened this issue 2 years ago • 1 comments

http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated at crisp\vendor\crispchat\php-crisp-api\src\Resources\Resource.php:19```

function prepareQuery($query) :

Just need to change null to "" on line 19.

CaMer0n avatar Dec 02 '22 23:12 CaMer0n

Thanks for the correction. @CaMer0n I have had this warning recently.

SnithfferxDS avatar Jan 27 '24 17:01 SnithfferxDS