Closed mlunato47 closed 1 year ago
It looks like your codebase is mixing Laravel\SerializableClosure
and Opis\Closure
somehow.
You are on a older version of grumphp, does the issue persist when you upgrade?
I can see in the release logs that newer versions tackled issues on parallel.
Closing this one because of inactivity If the issue still persists - feel free to reopen and provide some additional context.
Getting the following error when trying to make a commit using Grumphp, it is triggering this same error for every task I have Grumphp running.
Uncaught Amp\Serialization\SerializationException in worker with message "The given data could not be serialized: Laravel\SerializableClosure\Support\ReflectionClosure::__construct(): Argument #1 ($closure) must be of type Closure, Opis\Closure\SerializableClosure given, called in /Users/XXX/XXX_Project/Drupal-XXX/vendor/laravel/serializable-closure/src/Serializers/Native.php on line 302" and code "0"; use Amp\Parallel\Worker\TaskFailureException::getOriginalTrace() for the stack trace in the worker
I replaced information/project names with the XXX to sanitize it.
My configuration
Getting this same message from the following tasks: yamllint, composer, jsonlint, drupalcheck, phpcs, twigcs
Uncaught Amp\Serialization\SerializationException in worker with message "The given data could not be serialized: Laravel\SerializableClosure\Support\ReflectionClosure::__construct(): Argument #1 ($closure) must be of type Closure, Opis\Closure\SerializableClosure given, called in /Users/XXX/XXX_Project/Drupal-XXX/vendor/laravel/serializable-closure/src/Serializers/Native.php on line 302" and code "0"; use Amp\Parallel\Worker\TaskFailureException::getOriginalTrace() for the stack trace in the worker
Please add the result of the run or git commit actions here.