title: "Array to String Conversion Error" in laravel blade file
body: <p>I have an <code>$array_variable</code> like that in my laravel controller:</p>
  
  <pre><code>{"11161":{"total":1,"1":1,"2":0,"3":0,"4":0},"11160":{"total":1,"1":1,"2":0,"3":0,"4":0},"11159":{"total":5,"1":5,"2":0,"3":0,"4":0},"11158":{"total":1,"1":1,"2":0,"3":0,"4":0},"11157":{"total":2,"1":2,"2":0,"3":0,"4":0},"11156":{"total":2,"1":2,"2":0,"3":0,"4":0},"11155":{"total":1,"1":1,"2":0,"3":0,"4":0},"11154":{"total":2,"1":2,"2":0,"3":0,"4":0},"11153":{"total":1,"1":1,"2":0,"3":0,"4":0},"11152":{"total":2,"1":2,"2":0,"3":0,"4":0},"11151":{"total":2,"1":2,"2":0,"3":0,"4":0},"11137":{"total":2,"1":2,"2":0,"3":0,"4":0},"11150":{"total":2,"1":2,"2":0,"3":0,"4":0},"11136":{"total":2,"1":2,"2":0,"3":0,"4":0},"11135":{"total":1,"1":1,"2":0,"3":0,"4":0},"11132":{"total":2,"1":2,"2":0,"3":0,"4":0},"11134":{"total":2,"1":2,"2":0,"3":0,"4":0},"11133":{"total":2,"1":2,"2":0,"3":0,"4":0},"11121":{"total":2,"1":2,"2":0,"3":0,"4":0},"11120":{"total":1,"1":1,"2":0,"3":0,"4":0},"11119":{"total":1,"1":0,"2":1,"3":0,"4":0}}
  </code></pre>
  
  <p>When I access it in blade file via <code>{{ $array_variable[$id] }}</code> or <code>{{ $array_variable }}</code>, it gives this error: </p>
  
  <pre><code>ErrorException
  Array to string conversion
  </code></pre>
  
  <p>How can I access array elements without error?</p>