title: Laravel 5.2 Array to string conversion error
body: <p>I am working on a project with Laravel 5.2 and was making a simple form, but I get the error:</p>
  
  <p>Array to string conversion (View: C:\xampp\htdocs\projects\codehacking\resources\views\admin\posts\create.blade.php)</p>
  
  <p>and this is my code:</p>
  
  <pre><code>@extends('layouts.admin')
  
  
  
  @section('content')
  
      &lt;h1&gt;Create Post&lt;/h1&gt;
  
      {!! Form::open(['method'=&gt;'POST', 'action'=&gt;'AdminPostsController@store', 'files'=&gt;true]) !!}
  
  
          &lt;div class="form-group"&gt;
            {!! Form::label('title', 'Title:') !!}
            {!! Form::text('title', null, ['class'=&gt;'form-control'])!!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            {!! Form::label('category_id', 'Category:') !!}
            {!! Form::select('category_id', array(''=&gt; 'options'), null, ['class'=&gt;'form-control'])!!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            {!! Form::label('photo_id', 'Photo:') !!}
            {!! Form::file('photo_id', ['class'=&gt;'form-control'])!!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            {!! Form::label('body', 'Description:') !!}
            {!! Form::textarea('body', ['class'=&gt;'form-control'])!!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
            {!! Form::submit('Create Post', ['class'=&gt;'btn btn-primary'])!!}
          &lt;/div&gt;   
  
      {!! Form::close() !!}
  </code></pre>
  
  <p>@stop</p>
  
  <p>I thought the error might be with the select element, since in that element I am creating an array with options, but I was getting the same error even when I removed the element.
  Not sure what am I doing wrong?</p>