ErrorException [ Warning ]: Trying to access array offset on value of type null

APPPATH/views/direction_item.php [ 3 ]

1 <div class="container overflow-hidden inner__section-wrapper">
2     <div class="flex justify-between items-end mb-10">
3         <h2 class="text-black "> <?php echo ($direction['title']); ?></h2>
4     </div>
5     <div>
6         <?php echo ($direction['body']); ?>
7     </div>
8 </div>
  1. APPPATH/views/direction_item.php [ 3 ] » Kohana_Core::error_handler()

  2. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()

  4. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  5. APPPATH/views/new_template.php [ 165 ] » Kohana_View->__toString()

  6. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

  10. {PHP internal call} » Kohana_Controller->execute()

  11. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke()

  12. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()

  13. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute()

  14. DOCROOT/public/index.php [ 118 ] » Kohana_Request->execute()

Environment