Exception detected!

Notice: Undefined variable: placeid

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/ParadisusBundle/Controller/CasasLugaresController.php at line 60  -
    1.         else
    2.         {
    3.             return $this->render('ParadisusBundle:Default:search2.html.twig', array ('lat'=> $lat'long'=> $long'date1'=> $date1'date2'=> $date2'pax'=> $pax'order'=>$order'placeid'=>$placeid'placename'=>$existplaceid->getPlacename()));
    4.         }
  2. at ErrorHandler ->handleError ('8', 'Undefined variable: placeid', '/var/www/mialquilerencuba/symfony/src/ParadisusBundle/Controller/CasasLugaresController.php', '60', array('request' => object(Request), 'slug' => '131-mercedes-trinidad-cuba', 'em' => object(EntityManager), 'existplaceid' => object(Sitemapplaces), 'lat' => '21.7991', 'long' => '-79.9873', 'useragent' => 'claudebot'))
    in src/ParadisusBundle/Controller/CasasLugaresController.php at line 60  +
  3. at CasasLugaresController ->placeslugsearchAction (object(Request), '131-mercedes-trinidad-cuba')
  4. at call_user_func_array (array(object(CasasLugaresController), 'placeslugsearchAction'), array(object(Request), '131-mercedes-trinidad-cuba'))
    in app/bootstrap.php.cache at line 2687  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 2649  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2800  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185  +
  8. at Kernel ->handle (object(Request))
    in /var/www/mialquilerencuba/index.php at line 64  +

Logs  -

Stack Trace (Plain Text)  +