title: Uncaught Error: Class 'Event' not found while trying to access config data in octobercms
body: <p>I added the following configurations at config/app.php file:</p>
  <pre><code>'STATUS' =&gt; [
      'PENDING' =&gt; ['LABEL'=&gt;'Pending', 'VALUE'=&gt;0],
      'PACKAGING' =&gt; ['LABEL'=&gt;'Packing Done', 'VALUE'=&gt;1],
      'PICKUP' =&gt; ['LABEL'=&gt;'Assign to Pickup', 'VALUE'=&gt;2],
      'REPICKUP' =&gt; ['LABEL'=&gt;'Reassign to Pickup', 'VALUE'=&gt;3],
      'PICKUPDONE' =&gt; ['LABEL'=&gt;'Pickup Done', 'VALUE'=&gt;4],
      'ASSIGNTODELEVER' =&gt; ['LABEL'=&gt;'Assign to Deliver', 'VALUE'=&gt; 5],
      'REASSIGNTODELEVER' =&gt; ['LABEL'=&gt;'Reassign to Deliver', 'VALUE'=&gt; 6],
      'DELIVERED' =&gt; ['LABEL'=&gt;'Delivered', 'VALUE'=&gt; 7],
      'PAID' =&gt; ['LABEL'=&gt;'Paid to Merchant', 'VALUE'=&gt; 8],
      'RETURNTOHUB' =&gt; ['LABEL'=&gt;'Return to HUB', 'VALUE'=&gt; 9],
      'RETURNTOMERCHANT' =&gt; ['LABEL'=&gt;'Return to Merchant', 'VALUE'=&gt; 10],
      'REFUSED' =&gt; ['LABEL'=&gt;'Refused', 'VALUE'=&gt; 100],
  ];
  </code></pre>
  <p>Now I want to access these data at onStart() function of layout/admin.htm file:
  function onStart()</p>
  <pre><code>{
      $this['STATUS']  = Config::get('app.STATUS'); 
  }
  </code></pre>
  <p>But I am getting the following error:</p>
  <blockquote>
  <p>Fatal error: Uncaught Error: Class 'Event' not found in
  E:\XAMMP\htdocs\myoctober\vendor\october\rain\src\Foundation\Exception\Handler.php:57
  Stack trace: #0
  E:\XAMMP\htdocs\myoctober\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(408):
  October\Rain\Foundation\Exception\Handler-&gt;report(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #1 E:\XAMMP\htdocs\myoctober\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116):
  Illuminate\Foundation\Http\Kernel-&gt;reportException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
  #2 E:\XAMMP\htdocs\myoctober\index.php(43): Illuminate\Foundation\Http\Kernel-&gt;handle(Object(Illuminate\Http\Request))
  #3 {main} thrown in E:\XAMMP\htdocs\myoctober\vendor\october\rain\src\Foundation\Exception\Handler.php
  on line 57</p>
  </blockquote>
  <p>Is my approach wrong? Is there any smart way to set STATUS array which can be accessible through out the application?</p>