ddev: Update PHP 8 uploadprogress "Missing arginfo for uploadprogress_get_info()"

After updating to 1.18.0 I noticed my “ddev composer” calls were coming back with new warning messages:

PHP Warning: Missing arginfo for uploadprogress_get_info() in Unknown on line 0 PHP Warning: Missing arginfo for uploadprogress_get_contents() in Unknown on line 0

I googled this and found the PHP bug ticket and the fix which is to update the uploadprogress library to version 1.1.4.
The current vesion for PHP 8 in the latest ddev is 1.1.3.

https://bugs.php.net/bug.php?id=81320

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 24 (16 by maintainers)

Most upvoted comments

Sorry, I ran into a blocker for release, but this will get in there in the next few days.

It’s annoying, and will be updated as soon as it hits the deb.sury.org packages. Has finally been fixed upstream though.

Thanks for herding cats.

If this isn’t fixed upstream by the next point release I’ll just disable uploadprogress on php8 for the time being.

@mrweiner you know you can just disable uploadprogress if you’re not using it, right? sudo phpdismod uploadprogress

Good news, deb.sury.org has upgraded uploadprogress.

Just ran that command on amd64 and see no problems. But I know you already found your solution so we can leave this alone.