Horizon: Exception when using horizon with laravel 5.7

Created on 6 Sep 2018  路  9Comments  路  Source: laravel/horizon

Exception "The "stop-when-empty" option does not exist." when processing messages

https://github.com/laravel/horizon/blob/513fc37e6db7e0bf9eb0721a3a9fdcc0c43ee0c0/src/Console/WorkCommand.php#L14

it seems that the option stop-when-empty is missing in Horizon Work Command

All 9 comments

Same issue here when upgrading to 5.7.2. image

@mathiasmoser, I reverted back to version 5.7.1 of the framework by explicitly requiring 5.7.1 instead of 5.7.* in my composer.json file, restarted horizon and my queues are processing normally again.

@jasrys ok thanks for the tip - for now i use a custom HorizonServiceProvider which extends the Default Horizon Provider - in the Custom Provider i register a Custom WorkCommand which uses a signature with the missing option.

Same here. It looks like this is related to this PR: https://github.com/laravel/framework/pull/25116

Same here. 5.7.2 has some bug fixes in as well that are needed.

Merged! Waiting on a release I think? Thanks @themsaid

Any news on this? I saw that @themsaid reverted that PR.

@santigarcor It was re-added afterwards. It's been tagged as well. 1.4.0

Should be fixed now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

okaufmann picture okaufmann  路  3Comments

etiennellipse picture etiennellipse  路  3Comments

tillkruss picture tillkruss  路  6Comments

Pustiu picture Pustiu  路  5Comments

crash13override picture crash13override  路  5Comments