Bagisto: php artisan route:list throws error

Created on 3 Jan 2020  路  3Comments  路  Source: bagisto/bagisto

In a clone of the master branch:

php artisan route:list

   ErrorException  : Trying to access array offset on value of type null

  at /home/vagrant/code/bagisto/packages/Webkul/API/Http/Controllers/Shop/ResourceController.php:54
    50|
    51|             $this->middleware('auth:' . $this->guard);
    52|         }
    53|
  > 54|         $this->repository = app($this->_config['repository']);
    55|     }
    56|
    57|     /**
    58|      * Returns a listing of the resource.

  Exception trace:

  1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError()
      /home/vagrant/code/bagisto/packages/Webkul/API/Http/Controllers/Shop/ResourceController.php:54

  2   Webkul\API\Http\Controllers\Shop\ResourceController::__construct()
      [internal]:0

  Please use the argument -v to see more details.
Bug Bug Fixed

Most helpful comment

Just have a fresh Install and still have got the problem. I try using php version 7.3 and 7.4 and directly compose a new project with your repo bagisto/bagisto

All 3 comments

Hi @rabol

This issue has been fixed, kindly pull from master branch.

This issue has been fixed Master

Just have a fresh Install and still have got the problem. I try using php version 7.3 and 7.4 and directly compose a new project with your repo bagisto/bagisto

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ludioao picture ludioao  路  6Comments

marcelowu picture marcelowu  路  4Comments

alkhachatryan picture alkhachatryan  路  7Comments

accountmine picture accountmine  路  7Comments

dakisan picture dakisan  路  4Comments