title: illegal offset type in isset or empty Laravel 5.1
body: <p>I get this error <br>
  <code>ErrorException in Arr.php line 232: Illegal offset type in isset or empty (View: C:\firstapp\resources\views\about\contact.blade.php)</code> when I visit the /contact page and the contact page is <br></p>
  
  <pre><code>@extends('layouts.master')
  &lt;h1&gt;Contact Form&lt;/h1&gt;
  
  @foreach($errors-&gt;all() as $error)
      &lt;li&gt;
          {{$error}}
      &lt;/li&gt;
  @endforeach
  
  {!! Form::open(['route'=&gt;'contact_store','class'=&gt;'form-control']) !!}
  
      &lt;div class="form-group"&gt;
          {!! Form::label('name','Name :') !!}
          {!! Form::text('name',null,['class'=&gt;'form-control']) !!}
  
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          {!! Form::label('email','Your E-mail Address') !!}
          {!! Form::text('email', null, ['class'=&gt;'form-control']) !!}
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          {!! Form::label('message','Your Message') !!}
          {!! Form::textarea('message', null, ['class'=&gt;'form-control']) !!}
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          {!! Form::input('Contact Me',['class'=&gt;'btn btn-primary form-control']) !!}
      &lt;/div&gt;
  
  {!! Form::close() !!}
  </code></pre>
  
  <p>What am I doing wrong here? The main problem is that laravel is not even telling me the line number where the issue is.
  Here is the aboutController code<br></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class AboutController extends Controller
  {
      public function create()
      {
          return view('about.contact');
      }
  
      public function store()
      {
      }
  }
  </code></pre>