Выбери регион

Как построить карьеру в строительстве? Часть 5.

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/views/index/articles/v_articles_one.php [ 22 ]

17                                 <?=Form::hidden('user_id', $one['user_id'], array('class' => 'user_id'))?>
18                                 <?=Form::hidden('comment_id', $one['id'], array('class' => 'comment_id'))?>
19                                 <p><?=$one['username'];?></p> 
20                                 <p><i><?=$one['dt'];?></i></p>
21                             </div>
22                             <?if($one['user_id'] == $user->id):?>
23                                 <div class="commentEdit"></div>
24                             <?endif?>
25                         </div>
26                         <div style="clear: both"></div>
27                         <div class="commentText" style="outline:1px solid #DFDFDF; padding:10px;"><?=$one['text']?></div>
  1. APPPATH/views/index/articles/v_articles_one.php [ 22 ] » 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/index/v_base.php [ 101 ] » 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 [ 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 [ 97 ] » ReflectionMethod->invoke(arguments)

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

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

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

Environment