stephpy / timeline-bundle

Symfony2 bundle to make timeline
193 stars 57 forks source link

Warning: array_merge() expects at least 1 parameter, 0 given #205

Closed axzx closed 6 years ago

axzx commented 6 years ago

vendor/stephpy/timeline-bundle/DependencyInjection/Compiler/AddSpreadCompilerPass.php:26

 [RuntimeException]                                                         
  An error occurred when executing the "'cache:clear --no-warmup'" command:  

    [Symfony\Component\Debug\Exception\ContextErrorException]                
    Warning: array_merge() expects at least 1 parameter, 0 given 
KoriSeng commented 6 years ago

What is your config used for spreader ?

Only single spreader used? I submitted a PR that fixed issue with conflicting priority spread.

axzx commented 6 years ago

I haven't any spreads

KoriSeng commented 6 years ago

There is a minimum requirement of having One Spreader class for this to work actually.

Have to look into how i can fix it so that there will be no exception when there is no spreader.

stephpy commented 6 years ago

I merged your fix, thanks.