From 4415b94623358bfd1dc2e8f20e4deab0025d2d03 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 7 Jan 2021 08:08:57 -0600 Subject: [PATCH] fix breaking change --- src/Illuminate/Queue/Console/RetryCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Illuminate/Queue/Console/RetryCommand.php b/src/Illuminate/Queue/Console/RetryCommand.php index fe6248800c99..545f8489b8ae 100644 --- a/src/Illuminate/Queue/Console/RetryCommand.php +++ b/src/Illuminate/Queue/Console/RetryCommand.php @@ -126,6 +126,10 @@ protected function refreshRetryUntil($payload) { $payload = json_decode($payload, true); + if (! isset($payload['data']['command'])) { + return json_encode($payload); + } + $instance = unserialize($payload['data']['command']); if (is_object($instance) && method_exists($instance, 'retryUntil')) {