Ahh...Seems Something Went Wrong!!!

ErrorException [ Notice ]: Undefined variable: stars

APPPATH/views/page/bookdetails.php [ 58 ]

53                 <div class="col-md-8 col-sm-9">
54                     <h1 id="title"
55                         class="product-title hidden-mobile hidden-xs"><?php if (isset($book->TI)) echo $book->TI ?></h1>
56                     <?php
57                     if ($book->rating) {
58                         echo "<h4>{$stars}</h4>";
59                     }
60                     ?>
61                     <div class="col-md-4 product-author-isbn hidden-mobile hidden-xs">
62                         <p><span id="authors"><?php if($book->AU == "N/A"){ echo '';}else {echo $au;} ?></span></p>
63                     </div>
  1. APPPATH/views/page/bookdetails.php [ 58 ] » 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/page/index.php [ 226 ] » Kohana_View->__toString()

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

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

  8. APPPATH/classes/Controller/Booksprice.php [ 442 ] » Kohana_View->render()

  9. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Booksprice->action_book()

  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