php-json-rpc-http icon indicating copy to clipboard operation
php-json-rpc-http copied to clipboard

E_DEPRECATED in Client.php: ErrorException::__construct(): Passing null to parameter #2 ($code) of type int is deprecated

Open cmanley opened this issue 10 months ago • 1 comments

Setting $code to null is now allowed here: https://github.com/datto/php-json-rpc-http/blob/db15a075f3562c4e8d297b9082acc5b2869bd4b4/src/Client.php#L454 I guess that you'll have to use 0 instead.

cmanley avatar Mar 10 '25 09:03 cmanley

I contacted the author and they no longer have access to this repository. So we've taken over maintaining it at https://github.com/hcs-llc/php-json-rpc-http. Feel free to use ours and let us know any issues you have.

RLHawk1 avatar Sep 30 '25 17:09 RLHawk1