cups-ipp icon indicating copy to clipboard operation
cups-ipp copied to clipboard

Error upon using demo

Open trentwiles opened this issue 3 years ago • 2 comments

Ran the last demo, ran into an interesting error:

PHP Fatal error:  Declaration of Smalot\\Cups\\Transport\\Client::sendRequest(Psr\\Http\\Message\\RequestInterface $request) must be compatible with Psr\\Http\\Client\\ClientInterface::sendRequest(Psr\\Http\\Message\\RequestInterface $request): Psr\\Http\\Message\\ResponseInterface in /var/www/html/vendor/smalot/cups-ipp/src/Transport/Client.php on line 22

trentwiles avatar Dec 05 '20 21:12 trentwiles

i have the same error: Fatal error: Declaration of Smalot\Cups\Transport\Client::sendRequest(Psr\Http\Message\RequestInterface $request) must be compatible with Psr\Http\Client\ClientInterface::sendRequest(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface in /var/www/html/vendor/smalot/cups-ipp/src/Transport/Client.php on line 119

installed nginx+php7.4-fpm

krutraf avatar Dec 12 '20 07:12 krutraf

Same error

pierre-H avatar May 21 '21 07:05 pierre-H