title: Laravel Backpack CRUD not working
body: <p>i followed <a href="https://laravel-backpack.readme.io/docs/crud-example" rel="nofollow noreferrer">this</a> tutorial to setup a CRUD example. But i can't get it to work and i don't know why. here is my code</p>
  
  <p>SomeitemCrudController.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers\Admin;
  
  use Backpack\CRUD\app\Http\Controllers\CrudController;
  
  // VALIDATION: change the requests to match your own file names if you need form validation
  use App\Http\Requests\SomeitemRequest as StoreRequest;
  use App\Http\Requests\SomeitemRequest as UpdateRequest;
  
  class SomeitemCrudController extends CrudController
  {
  
      public function setUp()
      {
          /*
          |--------------------------------------------------------------------------
          | BASIC CRUD INFORMATION
          |--------------------------------------------------------------------------
          */
          $this-&gt;crud-&gt;setModel("App\Models\Someitem");
          $this-&gt;crud-&gt;setRoute("admin/someitem");
          $this-&gt;crud-&gt;setEntityNameStrings('someitem', 'someitems');
  
          /*
          |--------------------------------------------------------------------------
          | BASIC CRUD INFORMATION
          |--------------------------------------------------------------------------
          */
  
          $this-&gt;crud-&gt;setFromDb();
  
          // $this-&gt;crud-&gt;setColumns(['nama']);
          $this-&gt;crud-&gt;addField([
              'nama' =&gt; 'Nama',
              'keterangan' =&gt; 'Keterangan',
              'harga' =&gt; 'Harga'
          ]);
      }
  
      public function store(StoreRequest $request)
      {
          $redirect_location = parent::storeCrud();
          return $redirect_location;
      }
  
      public function update(UpdateRequest $request)
      {
          $redirect_location = parent::updateCrud();
          return $redirect_location;
      }
  }
  </code></pre>
  
  <p>the model, Someitem.php</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  use Backpack\CRUD\CrudTrait;
  
  class SomeItem extends Model
  {
      use CrudTrait;
      //
  
      protected $table = 'someitem';
      protected $fillable = ['nama', 'keterangan', 'harga'];
      public $timestamps = true;
  }
  </code></pre>
  
  <p>the request, SomeitemRequest.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Requests;
  
  use App\Http\Requests\Request;
  
  class SomeitemRequest extends \Backpack\CRUD\app\Http\Requests\CrudRequest
  {
      /**
       * Determine if the user is authorized to make this request.
       *
       * @return bool
       */
      public function authorize()
      {
          return \Auth::check();
      }
  
      /**
       * Get the validation rules that apply to the request.
       *
       * @return array
       */
      public function rules()
      {
          return [
              // 'name' =&gt; 'required|min:5|max:255'
          ];
      }
  
      /**
       * Get the validation attributes that apply to the request.
       *
       * @return array
       */
      public function attributes()
      {
          return [
              //
          ];
      }
  
      /**
       * Get the validation messages that apply to the request.
       *
       * @return array
       */
      public function messages()
      {
          return [
              //
          ];
      }
  }
  </code></pre>
  
  <p>and then, the routes</p>
  
  <pre><code>&lt;?php
  
  Route::group([
      'prefix' =&gt; config('backpack.base.route_prefix', 'admin'),
      'middleware' =&gt; ['admin'],
      'namespace' =&gt; 'Admin'
  ], function() {
      CRUD::resource('pelayanan', 'Admin\PelayananCrudController');
      Route::get('/test', function () {
          return view('welcome');
      });
  });
  </code></pre>
  
  <p>i can access <code>http://localhost/myapp/public/admin/test</code> successfully, but i can't access <code>http://localhost/myapp/public/admin/someitem</code> , it always return Error 500</p>
  
  <p>i'm new to laravel (and PHP), any helps is appreciated. thanks!</p>