ErrorException [ Notice ]: Undefined index: id

APPPATH/views/Pages/voting.php [ 18 ]

13                                 <ul>
14 
15                                     <?php if (count($articles) > 0) : ?>
16                                         <?php foreach ($articles as $item) : ?>
17                                             <li class="vote-closed">
18                                                 <h3 class="title"><a href="javascript:void(0)" data-id="<?= $item['id'] ?>" data-type="<?= @$item['input_type'] ?>"><?= @$item['title'] ?></a></h3>
19                                                 <div class="voted vote-count">
20                                                     <?= __('voted'); ?>: 
21                                                     <span><?= @$item['total_cnt'] ?></span> 
22                                                     <a href="<?= '/' . $lang . @$item['link'] ?>"><?= __('go to the voting page'); ?></a>
23                                                 </div> 
  1. APPPATH/views/Pages/voting.php [ 18 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/Frontpage_layout.php [ 87 ] » Kohana_View->__toString()

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

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

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

  9. APPPATH/classes/Controller/Generic/Frontpage.php [ 174 ] » Kohana_Controller_Template->after()

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

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

  12. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

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

  14. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 117 ] » Kohana_Request->execute()

Environment