8000 Fatal error: Call to a member function call() on null · Issue #8 · Vinelab/minion · GitHub
[go: up one dir, main page]

Skip to content

Fatal error: Call to a member function call() on null #8

Open

Description

@nadavvin

In try to run it:
vendor\bin\minion run --realm=pripra --port=9877 --register="Vinelab\Minion\DummyProvider"

I also copy DummyProvider from Example to vendor\vinelab\minion\src\Vinelab\Minion

Activity

  1. Mulkave commented on Nov 11, 2016

    @Mulkave
    Member

    @nadavvin can you please share the code that is producing this error?

  2. allejik commented on May 4, 2017

    @allejik

    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

  3. Mulkave commented on May 4, 2017

    @Mulkave
    Member

    @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.

  4. allejik commented on May 4, 2017

    @allejik

    @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.

  5. Mulkave commented on May 5, 2017

    @Mulkave
    Member

    @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?

  6. allejik commented on May 5, 2017

    @allejik

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0