ErrorException [ Notice ]: Undefined variable: user

APPPATH/views/content/profile.php [ 8 ]

 3 ?>
 4 <? //if (isset($user)) { ?>
 5 <!--
 6 <style>
 7     html {
 8         background: url('/media/profile_images/<?= $user['userName'] ?>/<?= $user['loginBackground'] ?>') no-repeat center center fixed;
 9         -webkit-background-size: cover;
10         -moz-background-size: cover;
11         -o-background-size: cover;
12         background-size: cover;
13     }
  1. APPPATH/views/content/profile.php [ 8 ] » 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/template_profile.php [ 21 ] » 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 [ 986 ] » Kohana_Request_Client->execute(arguments)

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

Environment