imagecache icon indicating copy to clipboard operation
imagecache copied to clipboard

PHP8.1: Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated ...

Open nickurt opened this issue 2 years ago • 1 comments

Hi,

We are getting this error on PHP8.1

PHP message: PHP Deprecated:  Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)

Since opis/closure has no native support for PHP8.1, is it possible to use the Laravel-fork (laravel/serializable-closure) instead of opis/closure?

See

  • https://github.com/opis/closure/issues/107
  • https://github.com/opis/closure/issues/102
  • https://github.com/laravel/serializable-closure

nickurt avatar Oct 20 '22 16:10 nickurt

Need a PR

eshimischi avatar Feb 25 '23 20:02 eshimischi