Deprecated function: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in html_element_override() (line 181 of modules/genesys_utilities/genesys_utilities.module).
html_element_override('.event-date-header, #event-date', NULL, NULL) (Line: 175)
eval() (Line: 81)
php_eval('
var ua = navigator.userAgent.toLowerCase();
var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile");
if(isAndroid) {
document.getElementById("ms_form").setAttribute("style","height:200px;");
// Do something!
// Redirect to Android-site?
}
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
if(iOS){
document.getElementById("ms_form").setAttribute("style","height:200px;");
}
@media (min-width: 992px){
.delegates-list .item a:hover:after {
background-color: #AF1556 !important;
}
}
.delegates-list {
margin-top: 1em;
}
@media (max-width: 992px) {
.delegates-list li p {
display: none;
}
.delegates-list li p {
display: none;
}
}
.card.related-content-item, .card.download {
border-bottom-width: 10px !important;
border-bottom-style: solid;
}
.fa-download {
zoom: 0.65;
}
/* IE10+ specific styles TEMP FIX*/
.ie-only{
display:none;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
.ie-only{
display:block;
}
.ie-off{
display:none;
}
}
@media (max-width: 575.98px) {
.ofb-icon{
max-width:100px;
}
}
.card.related-content-item {
border-bottom-width: 10px !important;
border-bottom-style: solid;
}
var batch = init = 12;
var n = 1;
var total = 0;
$(document).ready(function() {
$('.delegates-list > li').hide();
$('.delegates-list > li').slice( 0, batch).show();
total = parseInt($('#view_total').text(), 10);
init = total < batch ? total : batch;
displaying = $("html").attr("lang") == "en" ? "Displaying 1 - " : "Résultats 1 à ";
trans_of = $("html").attr("lang") == "en" ? " of " : " de ";
$("#summary").html(displaying + init + trans_of + total );
if(total <= batch) {
$('#companies').hide();
}
$("#companies").click(function(e) {
var start = n * batch;
var end = (n + 1) * batch;
if (start < total) {
$('.delegates-list > li').slice( start, end ).show();
end = end > total ? total : end;
$("#summary").html(displaying + end + trans_of + total );
if (end == total){
$('#companies').hide();
}
n++;
}
else{
$("#summary").html(displaying + total + trans_of + total );
$('#companies').hide();
}
});
var val = $('#view_total').text();
$('#total_delegates').text(val);
if (window.innerWidth < 992) {
$('#companies').hide();
$("html").attr("lang") == "en" ? $("#summary").html(total + " in total" ) : $("#summary").html("Total de " + total);
}
});
$(window).resize(function() {
if (window.innerWidth < 992) {
$('.delegates-list li').show();
$('#companies').hide();
$("html").attr("lang") == "en" ? $("#summary").html(total + " in total" ) : $("#summary").html("Total de " + total);
}
else {
$('.delegates-list > li').hide();
$('.delegates-list > li').slice( 0, n * batch).show();
if (total <= batch) {
$("#summary").html(displaying + total + trans_of + total );
}
else {
end = (n * batch) < total ? (n * batch) : total;
$("#summary").html(displaying + end + trans_of + total );
if (end == total){
$('#companies').hide();
}
else {
$('#companies').show();
}
}
}
});
$(document).ready(function(){
var $viewport_width = $( window ).width();
if($viewport_width > "575"){
$(".related-item-text").equalHeights();
}
});
<?php
html_element_override('.event-date-header, #event-date' , null, null);
?>
.contact-details a[href^="mailto:"] {
font-size: 1.1rem;
}
') (Line: 26)
Drupal\php\Plugin\Filter\Php->process('
var ua = navigator.userAgent.toLowerCase();
var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile");
if(isAndroid) {
document.getElementById("ms_form").setAttribute("style","height:200px;");
// Do something!
// Redirect to Android-site?
}
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
if(iOS){
document.getElementById("ms_form").setAttribute("style","height:200px;");
}
@media (min-width: 992px){
.delegates-list .item a:hover:after {
background-color: #AF1556 !important;
}
}
.delegates-list {
margin-top: 1em;
}
@media (max-width: 992px) {
.delegates-list li p {
display: none;
}
.delegates-list li p {
display: none;
}
}
.card.related-content-item, .card.download {
border-bottom-width: 10px !important;
border-bottom-style: solid;
}
.fa-download {
zoom: 0.65;
}
/* IE10+ specific styles TEMP FIX*/
.ie-only{
display:none;
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
.ie-only{
display:block;
}
.ie-off{
display:none;
}
}
@media (max-width: 575.98px) {
.ofb-icon{
max-width:100px;
}
}
.card.related-content-item {
border-bottom-width: 10px !important;
border-bottom-style: solid;
}
var batch = init = 12;
var n = 1;
var total = 0;
$(document).ready(function() {
$('.delegates-list > li').hide();
$('.delegates-list > li').slice( 0, batch).show();
total = parseInt($('#view_total').text(), 10);
init = total < batch ? total : batch;
displaying = $("html").attr("lang") == "en" ? "Displaying 1 - " : "Résultats 1 à ";
trans_of = $("html").attr("lang") == "en" ? " of " : " de ";
$("#summary").html(displaying + init + trans_of + total );
if(total <= batch) {
$('#companies').hide();
}
$("#companies").click(function(e) {
var start = n * batch;
var end = (n + 1) * batch;
if (start < total) {
$('.delegates-list > li').slice( start, end ).show();
end = end > total ? total : end;
$("#summary").html(displaying + end + trans_of + total );
if (end == total){
$('#companies').hide();
}
n++;
}
else{
$("#summary").html(displaying + total + trans_of + total );
$('#companies').hide();
}
});
var val = $('#view_total').text();
$('#total_delegates').text(val);
if (window.innerWidth < 992) {
$('#companies').hide();
$("html").attr("lang") == "en" ? $("#summary").html(total + " in total" ) : $("#summary").html("Total de " + total);
}
});
$(window).resize(function() {
if (window.innerWidth < 992) {
$('.delegates-list li').show();
$('#companies').hide();
$("html").attr("lang") == "en" ? $("#summary").html(total + " in total" ) : $("#summary").html("Total de " + total);
}
else {
$('.delegates-list > li').hide();
$('.delegates-list > li').slice( 0, n * batch).show();
if (total <= batch) {
$("#summary").html(displaying + total + trans_of + total );
}
else {
end = (n * batch) < total ? (n * batch) : total;
$("#summary").html(displaying + end + trans_of + total );
if (end == total){
$('#companies').hide();
}
else {
$('#companies').show();
}
}
}
});
$(document).ready(function(){
var $viewport_width = $( window ).width();
if($viewport_width > "575"){
$(".related-item-text").equalHeights();
}
});
<?php
html_element_override('.event-date-header, #event-date' , null, null);
?>
.contact-details a[href^="mailto:"] {
font-size: 1.1rem;
}
', 'fr') (Line: 118)
Drupal\filter\Element\ProcessedText::preRenderText(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 859)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 62)
__TwigTemplate_a6b37a2b595fcde427ddd01fd87a650c->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 39)
twig_render_template('core/modules/system/templates/field.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 144)
__TwigTemplate_df86679bedd0d5c52dc7d6dd45fd5f99->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 39)
twig_render_template('themes/SFO/templates/node/node--event-types.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 231)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)