Notice!
Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property 'cat' of non-object
APPPATH/classes/helpers/url.php @ line 34
29 return \Uri::base() . $idioma . '/products/category/' . $slugCategoria;
30 }
31
32 public static function linkBlog($item, $idioma = 'es')
33 {
34 return \Uri::base() . $idioma . '/blog/ver/' . $item->blog->cat->slug . '/' .$item->slug;
35 }
36
37 public static function linkBlogCategoria($slug, $idioma='es')
38 {
39 return \Uri::base() .$idioma.'/blog/categoria/'.$slug;
Backtrace
-
COREPATH/bootstrap.php @ line 112
107 include COREPATH.'classes/errorhandler.php';
108 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler');
109 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException');
110 }
111
112 return \Errorhandler::error_handler($severity, $message, $filepath, $line);
113});
114
115function setup_autoloader()
116{
117 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
-
APPPATH/classes/helpers/url.php @ line 34
29 return \Uri::base() . $idioma . '/products/category/' . $slugCategoria;
30 }
31
32 public static function linkBlog($item, $idioma = 'es')
33 {
34 return \Uri::base() . $idioma . '/blog/ver/' . $item->blog->cat->slug . '/' .$item->slug;
35 }
36
37 public static function linkBlogCategoria($slug, $idioma='es')
38 {
39 return \Uri::base() .$idioma.'/blog/categoria/'.$slug;
-
APPPATH/views/blog/index.php @ line 27
22 <?php foreach($items as $item) :?>
23 <?php $itm = $item->traduccion($prefijo); ?>
24 <li class="grid-item wow animate__fadeIn">
25 <div class="blog-post">
26 <div class="blog-post-image margin-40px-bottom md-margin-35px-bottom xs-margin-25px-bottom">
27 <a href="<?= \Helpers_Url::linkBlog($itm, $itm->idioma) ?>">
28 <?= \Imts\Utils\Ficheros::generarTamanyo('uploads/blog/', $itm->blog->imagen, 600,array('alt'=>$itm->titulo),75,false,'uploads/content/recursos/no-imagen.jpg') ?>
29 </a>
30 </div>
31 <div class="post-details margin-30px-bottom md-margin-10px-bottom xs-no-margin-bottom">
32 <span class="alt-font text-uppercase text-extra-small letter-spacing-1px d-block"><?=$itm->blog->getFecha()->format('d/m/Y')?></span>
-
COREPATH/classes/view.php @ line 258
253 ob_start();
254
255 try
256 {
257 // Load the view within the current scope
258 include $__file_name;
259 }
260 catch (\Exception $e)
261 {
262 // Delete the output buffer
263 ob_end_clean();
-
COREPATH/classes/view.php @ line 274
269 // Get the captured output and close the buffer
270 return ob_get_clean();
271 };
272
273 // import and process the view file
274 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data());
275
276 // disable sanitization on objects that support it
277 $this->unsanitize($data);
278
279 // return the result
-
COREPATH/classes/view.php @ line 680
675 {
676 throw new \FuelException('You must set the file to use within your view before rendering');
677 }
678
679 // combine local and global data and capture the output
680 $return = $this->process_file();
681
682 // restore the current language setting
683 $this->active_language and \Config::set('language', $current_language);
684
685 // and the active request class
-
COREPATH/classes/view.php @ line 227
222 */
223 public function __toString()
224 {
225 try
226 {
227 return $this->render();
228 }
229 catch (\Exception $e)
230 {
231 \Errorhandler::exception_handler($e);
232
-
APPPATH/views/template.php @ line 78
73 </div>
74 </div>
75 </div>
76 </div>
77 </header>
78<?=$content; ?>
79 <footer class="footer-dark border-top border-color-white-transparent line-height-26px padding-30px-tb xs-padding-20px-tb">
80 <div class="footer-top padding-50px-tb">
81 <div class="container">
82 <div class="row row-cols-1 row-cols-md-3 row-cols-sm-3 justify-content-center">
83 <div class="col-12 col-lg-4 col-sm-6 xs-margin-25px-bottom">
-
COREPATH/classes/view.php @ line 258
253 ob_start();
254
255 try
256 {
257 // Load the view within the current scope
258 include $__file_name;
259 }
260 catch (\Exception $e)
261 {
262 // Delete the output buffer
263 ob_end_clean();
-
COREPATH/classes/view.php @ line 274
269 // Get the captured output and close the buffer
270 return ob_get_clean();
271 };
272
273 // import and process the view file
274 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data());
275
276 // disable sanitization on objects that support it
277 $this->unsanitize($data);
278
279 // return the result
-
COREPATH/classes/view.php @ line 680
675 {
676 throw new \FuelException('You must set the file to use within your view before rendering');
677 }
678
679 // combine local and global data and capture the output
680 $return = $this->process_file();
681
682 // restore the current language setting
683 $this->active_language and \Config::set('language', $current_language);
684
685 // and the active request class
-
COREPATH/classes/view.php @ line 227
222 */
223 public function __toString()
224 {
225 try
226 {
227 return $this->render();
228 }
229 catch (\Exception $e)
230 {
231 \Errorhandler::exception_handler($e);
232
-
COREPATH/classes/response.php @ line 382
377 *
378 * @return string
379 */
380 public function __toString()
381 {
382 return (string) $this->body;
383 }
384}
-
DOCROOT/index.php @ line 191
186catch (HttpServerErrorException $e)
187{
188 $response = $routerequest('_500_', $e);
189}
190
191$response->body((string) $response);
192
193/**
194 * -----------------------------------------------------------------------------
195 * Start profiling
196 * -----------------------------------------------------------------------------
Prior Contents (show)
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta name="description" content="">
<meta name="author" content="Zoom Creactivo">
<title>Elementos de la categoria Jornadas y eventos</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1" />
<link rel="shortcut icon" href="/uploads/content/recursos/favicon.png">
<link type="text/css" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="http://getbootstrap.com/examples/carousel/carousel.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/css/font-icons.min.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/css/theme-vendors.min.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/css/style.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/css/responsive.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/revolution/css/settings.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/revolution/css/layers.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/revolution/css/navigation.css" />
<link type="text/css" rel="stylesheet" href="https://restaurantepuigcampana.com/assets/custom/css/estilo.css" />
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css" />
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body class="bg-extra-medium-slate-blue">
<div class="box-layout">
<header class="home-architecture">
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent header-dark fixed-top navbar-boxed navbar-static-overlay top-space">
<div class="container-fluid h-100px md-h-70px">
<div class="col-5 col-lg-2 me-auto ps-lg-0">
<a class="navbar-brand" href="https://restaurantepuigcampana.com/en">
<img src="/uploads/content/recursos/logo-blanco.png" alt="logo" class="default-logo">
<img src="/uploads/content/recursos/logo-sticky.png" alt="logo" class="alt-logo">
<img src="/uploads/content/recursos/logo-movil.png" class="mobile-logo" alt="logo">
</a>
</div>
<div class="col-auto text-end">
<a href="/en/cartas/view/menu" class="alt-font font-weight-500 text-medium text-uppercase text-white d-none d-sm-inline-block align-middle margin-20px-right">Menu</a>
<a target="_blank" rel="nofollow" href="https://bookings.agorapos.com/reservas/widget/881/calendario/dbcb246849f51af4ba3b7b652527ba7fb0e58996" class="alt-font font-weight-500 text-medium text-uppercase d-inline-block align-middle margin-10px-right reservaHeader">Reservation</a>
<a href="tel:+34 96 585 39 14" class="alt-font font-weight-500 text-medium text-uppercase d-inline-block align-middle telefonoHeader"><i class="fa fa-phone"></i></a>
<div class="header-push-button">
<a href="javascript:void(0);" class="push-button ">
<span></span>
<span></span>
<span></span>
<span></span>
</a>
</div>
</div>
</div>
</nav>
<div class="hamburger-menu hamburger-menu-big-font bg-extra-medium-slate-blue xl-w-60 lg-w-70 md-w-50 sm-w-100">
<a href="javascript:void(0);" class="close-menu text-white"><i class="ti-close"></i></a>
<div class="row g-0 h-100">
<div class="col-6 cover-background d-none d-lg-block" style="background-image: url('/uploads/content/recursos/puig-menu.jpg');"></div>
<div class="col-lg-6">
<div class="row g-0 align-items-center justify-content-center h-100 padding-5-half-rem-all xs-padding-3-rem-all">
<div class="col-12 menu-list-wrapper menu-list-wrapper-small text-center text-md-start" data-scroll-options='{ "theme": "light" }'>
<ul class="menu-list alt-font w-100">
<li class="nav-item"><a class="nav-link text-uppercase" href="/en">Home</a></li><li class="nav-item"><a class="nav-link text-uppercase" href="/en/galeria/ver/restaurante-en">Restaurant</a></li><li class="nav-item"><a class="nav-link text-uppercase" href="/en/cartas/view/menu">Menu</a></li><li class="nav-item"><a class="nav-link text-uppercase" href="/en/blog/categoria/jornadas-y-eventos">Events</a></li><li class="nav-item"><a class="nav-link text-uppercase" href="/en/contacto">Contact</a></li> </ul>
</div>
<div class="col-12">
<div class="text-center elements-social social-icon-style-05 redesMenu">
<ul>
<li><a title="Instagram" class="instagram" href="https://www.instagram.com/restaurantepuigcampana/" rel="nofollow" target="_blank"><i class="fab fa-instagram"></i></a></li>
<li><a title="Facebook" class="facebook" href="https://www.facebook.com/restaurantepuigcampana" rel="nofollow" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
<li><a title="Tripadvisor" class="tripadvisor" href="https://www.tripadvisor.es/Restaurant_Review-g672812-d1097418-Reviews-Puig_Campana-Finestrat_Costa_Blanca_Province_of_Alicante_Valencian_Country.html" rel="nofollow" target="_blank"><img src="/uploads/content/recursos/icono-tripadvisor.png" alt="tripadvisor" /></a></li>
</ul> </div>
</div>
<div class="col-12">
<div class="alt-font social-icon-style-12 text-small text-uppercase">
<ul class="list-style-03 light">
<li><a href="/en"><img src="/uploads/content/recursos/en.png" alt="Español" /> English</a></li>
<li><a href="/es"><img src="/uploads/content/recursos/es.png" alt="Español" /> Español</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</header>