Notice (8): Undefined variable: eventTitle [APP/Controller/ServicesController.php, line 2087]Code Context }
$eventTitle = 'ICFO | ' . $eventTitle;
if ($event && !empty($event->event_date_from)) {
$eventId = '3851'
$langCode = 'ca_ES'
$langId = (int) 3
$event = object(Cake\ORM\Entity) {
'id' => (int) 3851,
'old_id' => null,
'lang_es' => false,
'lang_cat' => false,
'color_id' => (int) 4,
'event_icon_id' => null,
'event_information_type_id' => (int) 8,
'event_type_id' => (int) 10,
'event_date_from' => object(Cake\I18n\FrozenDate) {},
'event_date_to' => object(Cake\I18n\FrozenDate) {},
'event_hour_from' => '09:00',
'event_hour_to' => '17:00',
'all_day' => false,
'event_place' => 'ICFO Auditorium',
'speaker' => '',
'affiliation' => '',
'host' => '',
'show_in_home' => false,
'main_image_id' => (int) 3323,
'register_url' => '',
'register_text' => '',
'created_by' => null,
'validated' => true,
'validated_by' => null,
'validated_date' => null,
'off' => false,
'hide_on_web' => false,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'event_information_type' => object(Cake\ORM\Entity) {},
'event_text' => object(Cake\ORM\Entity) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Events'
}
App\Controller\ServicesController::getEventIcal() - APP/Controller/ServicesController.php, line 2087
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web2/web/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [APP/Controller/ServicesController.php, line 2114]Code Context $vCalendar->addComponent($vEvent);
header('Content-Type: text/calendar; charset=utf-8');
header('Content-Disposition: attachment; filename="cal.ics"');
$eventId = '3851'
$langCode = 'ca_ES'
$langId = (int) 3
$event = object(Cake\ORM\Entity) {
'id' => (int) 3851,
'old_id' => null,
'lang_es' => false,
'lang_cat' => false,
'color_id' => (int) 4,
'event_icon_id' => null,
'event_information_type_id' => (int) 8,
'event_type_id' => (int) 10,
'event_date_from' => object(Cake\I18n\FrozenDate) {},
'event_date_to' => object(Cake\I18n\FrozenDate) {},
'event_hour_from' => '09:00',
'event_hour_to' => '17:00',
'all_day' => false,
'event_place' => 'ICFO Auditorium',
'speaker' => '',
'affiliation' => '',
'host' => '',
'show_in_home' => false,
'main_image_id' => (int) 3323,
'register_url' => '',
'register_text' => '',
'created_by' => null,
'validated' => true,
'validated_by' => null,
'validated_date' => null,
'off' => false,
'hide_on_web' => false,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'event_information_type' => object(Cake\ORM\Entity) {},
'event_text' => object(Cake\ORM\Entity) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Events'
}
$eventTitle = 'ICFO | '
$vCalendar = object(Eluceo\iCal\Component\Calendar) {
[protected] prodId => 'Icfo'
[protected] method => null
[protected] name => null
[protected] description => null
[protected] timezone => null
[protected] calendarScale => null
[protected] forceInspectOrOpen => false
[protected] calId => null
[protected] publishedTTL => 'P1W'
[protected] calendarColor => null
[protected] components => [
(int) 0 => object(Eluceo\iCal\Component\Event) {}
]
}
$eventDate = '2024-12-12 09:00:00'
$vEvent = object(Eluceo\iCal\Component\Event) {
[protected] uniqueId => '67685b05498c7'
[protected] dtStamp => null
[protected] dtStart => object(DateTime) {}
[protected] dtEnd => object(DateTime) {}
[protected] duration => null
[protected] noTime => false
[protected] url => null
[protected] location => 'ICFO Auditorium'
[protected] locationTitle => ''
[protected] locationGeo => null
[protected] summary => 'ICFO | '
[protected] organizer => null
[protected] transparency => 'OPAQUE'
[protected] useTimezone => false
[protected] sequence => (int) 0
[protected] attendees => null
[protected] description => null
[protected] descriptionHTML => null
[protected] status => null
[protected] recurrenceRule => null
[protected] recurrenceRules => []
[protected] created => null
[protected] modified => null
[protected] useUtc => true
[protected] cancelled => null
[protected] categories => null
[protected] isPrivate => false
[protected] exDates => []
[protected] recurrenceId => null
[protected] components => []
}
$dateTo = '2024-12-12 17:00:00'
header - [internal], line ??
App\Controller\ServicesController::getEventIcal() - APP/Controller/ServicesController.php, line 2114
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web2/web/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [APP/Controller/ServicesController.php, line 2115]Code Context header('Content-Type: text/calendar; charset=utf-8');
header('Content-Disposition: attachment; filename="cal.ics"');
echo $vCalendar->render();
$eventId = '3851'
$langCode = 'ca_ES'
$langId = (int) 3
$event = object(Cake\ORM\Entity) {
'id' => (int) 3851,
'old_id' => null,
'lang_es' => false,
'lang_cat' => false,
'color_id' => (int) 4,
'event_icon_id' => null,
'event_information_type_id' => (int) 8,
'event_type_id' => (int) 10,
'event_date_from' => object(Cake\I18n\FrozenDate) {},
'event_date_to' => object(Cake\I18n\FrozenDate) {},
'event_hour_from' => '09:00',
'event_hour_to' => '17:00',
'all_day' => false,
'event_place' => 'ICFO Auditorium',
'speaker' => '',
'affiliation' => '',
'host' => '',
'show_in_home' => false,
'main_image_id' => (int) 3323,
'register_url' => '',
'register_text' => '',
'created_by' => null,
'validated' => true,
'validated_by' => null,
'validated_date' => null,
'off' => false,
'hide_on_web' => false,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'event_information_type' => object(Cake\ORM\Entity) {},
'event_text' => object(Cake\ORM\Entity) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Events'
}
$eventTitle = 'ICFO | '
$vCalendar = object(Eluceo\iCal\Component\Calendar) {
[protected] prodId => 'Icfo'
[protected] method => null
[protected] name => null
[protected] description => null
[protected] timezone => null
[protected] calendarScale => null
[protected] forceInspectOrOpen => false
[protected] calId => null
[protected] publishedTTL => 'P1W'
[protected] calendarColor => null
[protected] components => [
(int) 0 => object(Eluceo\iCal\Component\Event) {}
]
}
$eventDate = '2024-12-12 09:00:00'
$vEvent = object(Eluceo\iCal\Component\Event) {
[protected] uniqueId => '67685b05498c7'
[protected] dtStamp => null
[protected] dtStart => object(DateTime) {}
[protected] dtEnd => object(DateTime) {}
[protected] duration => null
[protected] noTime => false
[protected] url => null
[protected] location => 'ICFO Auditorium'
[protected] locationTitle => ''
[protected] locationGeo => null
[protected] summary => 'ICFO | '
[protected] organizer => null
[protected] transparency => 'OPAQUE'
[protected] useTimezone => false
[protected] sequence => (int) 0
[protected] attendees => null
[protected] description => null
[protected] descriptionHTML => null
[protected] status => null
[protected] recurrenceRule => null
[protected] recurrenceRules => []
[protected] created => null
[protected] modified => null
[protected] useUtc => true
[protected] cancelled => null
[protected] categories => null
[protected] isPrivate => false
[protected] exDates => []
[protected] recurrenceId => null
[protected] components => []
}
$dateTo = '2024-12-12 17:00:00'
header - [internal], line ??
App\Controller\ServicesController::getEventIcal() - APP/Controller/ServicesController.php, line 2115
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 37
BEGIN:VCALENDAR
VERSION:2.0
PRODID:Icfo
X-PUBLISHED-TTL:P1W
BEGIN:VEVENT
UID:67685b05498c7
DTSTART:20241212T080000Z
SEQUENCE:0
TRANSP:OPAQUE
DTEND:20241212T160000Z
LOCATION:ICFO Auditorium
SUMMARY:ICFO |
CLASS:PUBLIC
DTSTAMP:20241222T183133Z
END:VEVENT
END:VCALENDAR