I try to install a package on my project. When it updates the dependencies it produces 2 problems
Problem 1
Problem 2
What kind of problem is this? And how do I solve these errors
As Sammitch says, your current package version doesn't support PHP 7.4.
Pusher support PHP 7.4 since 4.1.1
, so upgrade you pusher to 4.1.1
or above by changing your composer.json
to:
"pusher/pusher-php-server": "4.1.1",
Based on changelog, I think no breaking change from v3.4.1 to v4.1.1 but alternatively if you want to use 3.4.1 just downgrade your PHP to 7.3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.