You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fatal error: Call to a member function call() on null #8
@allejik kindly note that this package is Laravel specific, I have never used Yii before. I would appreciate a PR that makes this library Yii compatible if you have the chance.
@Mulkave sorry, I haven’t noticed that this is only for Laravel, it makes sense then. I don't think that adaptation of this library is easy for yii2, because it's using laravel framework as a base.
@Mulkave I think you can try to use: use Symfony\Component\Console\Command\Command;
instead of use Illuminate\Console\Command;
in ./vendor/vinelab/minion/src/Vinelabel/Minion/Console/Commands/RunCommand.php:6
and make some changes in the class.
It will make library more universal for my opinion.
Activity
Mulkave commentedon Nov 11, 2016
@nadavvin can you please share the code that is producing this error?
allejik commentedon May 4, 2017
This library doesn't work on Yii2:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to a member function call() on null
./vendor/illuminate/console/Command.php:182
$this->laravel --> null
Mulkave commentedon May 4, 2017
@allejik kindly note that this package is Laravel specific, I have never used Yii before. I would appreciate a PR that makes this library Yii compatible if you have the chance.
allejik commentedon May 4, 2017
@Mulkave sorry, I haven’t noticed that this is only for Laravel, it makes sense then. I don't think that adaptation of this library is easy for yii2, because it's using laravel framework as a base.
Mulkave commentedon May 5, 2017
@allejik no worries. The hook with Laravel is rather simple and can be disconnected easily. Can you give me a hint on how to hook into Yii2?
allejik commentedon May 5, 2017
@Mulkave I think you can try to use:
use Symfony\Component\Console\Command\Command;
instead of
use Illuminate\Console\Command;
in ./vendor/vinelab/minion/src/Vinelabel/Minion/Console/Commands/RunCommand.php:6
and make some changes in the class.
It will make library more universal for my opinion.