ErrorException [ Notice ]: Undefined variable: img

APPPATH/views/magazin/produs.php [ 7 ]

 2 if(isset($produs->id)){
 3     $dir = Helper_Custom::getCascadedFoldersFromInt($produs->id);
 4     if (isset($pozaMare)){$img = "http://nousmode.com/upload/pictures/$dir/big/".$pozaMare;}
 5 }    else{ $img = "http://nousmode.com/html/img/logo.png";}
 6 ?>
 7 <meta property="og:image" content="<?=$img?>"/>
 8 
 9 <script type="text/javascript">
10     document.getElementsByTagName('body')[0].className+='single-product';
11 </script>
12 <script>
  1. APPPATH/views/magazin/produs.php [ 7 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/site/index.php [ 102 ] » Kohana_View->__toString()

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

  7. SYSPATH/classes/Kohana/View.php [ 359 ] » 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 [ 997 ] » Kohana_Request_Client->execute(arguments)

  14. APPPATH/bootstrap.php [ 162 ] » Kohana_Request->execute()

  15. DOCROOT/index.php [ 102 ] » require(arguments)

Environment