Error message
Notice: Undefined index: v in
eval() (line
3 of
modules/contrib/php/php.module(81) : eval()'d code).
eval() (Line: 81)
php_eval('<?php
// Check if the '$video_code' variable is part of the query string, and output adequate content depending if the visitor has submitted or not their email address.
$video_code = $_GET['v'];
if ($video_code == '6qHDGBSv5V7ita4t') {
?>
<?php
}
else {
?>
.film-video {
position: relative;
width: 908px;
height: 681px;
padding: 0;
background: url('http://celebratewhatsright.com/sites/all/themes/cwr/images/content-film-video-disabled.jpg') no-repeat;
}
#modal-block-content-film-video-disabled {
position: absolute;
top: 50px;
left: 307px;
width: 260px;
margin: 0 auto 0 auto;
padding: 1em 1.5em;
background: #fff;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 0 15px 1px #000000;
-webkit-box-shadow: 0 0 15px 1px #000000;
box-shadow: 0 0 15px 1px #000000;
font-size: 1.25em;
line-height: 1.25em;
text-align: center;
}
#modal-block-content-film-video-disabled .button {
margin: 0.5em 0.5em 0 0.5em;
}
We’re delighted you want to watch <em>Celebrate What’s Right with the World!</em>. You’re just one step away!
Simply enter your email address to sign up and play the video! (P.S. We will not share your information with anyone)When you want to see the film again, simply reenter your email address.
<?php
// Output the Webform block.
//$block = module_invoke('webform', 'block', 'view', 'client-block-673');
//print $block['content'];
$block = \Drupal\block\Entity\Block::load('client-block-673');
/*
$block_content = \Drupal::entityManager()
->getViewBuilder('block')
->view($block);
return array('#markup' => drupal_render($block_content));
*/
?>
<?php
}
?>') (Line: 26)
Drupal\php\Plugin\Filter\Php->process('<?php
// Check if the '$video_code' variable is part of the query string, and output adequate content depending if the visitor has submitted or not their email address.
$video_code = $_GET['v'];
if ($video_code == '6qHDGBSv5V7ita4t') {
?>
<?php
}
else {
?>
.film-video {
position: relative;
width: 908px;
height: 681px;
padding: 0;
background: url('http://celebratewhatsright.com/sites/all/themes/cwr/images/content-film-video-disabled.jpg') no-repeat;
}
#modal-block-content-film-video-disabled {
position: absolute;
top: 50px;
left: 307px;
width: 260px;
margin: 0 auto 0 auto;
padding: 1em 1.5em;
background: #fff;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 0 15px 1px #000000;
-webkit-box-shadow: 0 0 15px 1px #000000;
box-shadow: 0 0 15px 1px #000000;
font-size: 1.25em;
line-height: 1.25em;
text-align: center;
}
#modal-block-content-film-video-disabled .button {
margin: 0.5em 0.5em 0 0.5em;
}
We’re delighted you want to watch <em>Celebrate What’s Right with the World!</em>. You’re just one step away!
Simply enter your email address to sign up and play the video! (P.S. We will not share your information with anyone)When you want to see the film again, simply reenter your email address.
<?php
// Output the Webform block.
//$block = module_invoke('webform', 'block', 'view', 'client-block-673');
//print $block['content'];
$block = \Drupal\block\Entity\Block::load('client-block-673');
/*
$block_content = \Drupal::entityManager()
->getViewBuilder('block')
->view($block);
return array('#markup' => drupal_render($block_content));
*/
?>
<?php
}
?>', 'en') (Line: 118)
Drupal\filter\Element\ProcessedText::preRenderText(Array)
call_user_func_array(Array, Array) (Line: 100)
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. Support for this callback implementation is deprecated in 8.8.0 and will be removed in Drupal 9.0.0. See https://www.drupal.org/node/2966725', 'silenced_deprecation', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 781)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 372)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 80)
__TwigTemplate_91675dc23672f66647276042cbfb16bd83c14a65a8f0e4add0bafa66d29081f9->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 39)
__TwigTemplate_8fb2a13e9c97a74800266ce99f94c9129e8f6bf96313d452a9d6f4bc1d53f8e7->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 36)
__TwigTemplate_b6630eb94761343c09239a5e5791c4adf4285507da57502dae81f4b762861aec->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('core/themes/classy/templates/field/field--text-with-summary.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 76)
__TwigTemplate_2dc434d11335e2eeca7d0ce8b7683224d369ba68e8e278723b005dd76efd4410->block_content(Array, Array) (Line: 214)
Twig\Template->displayBlock('content', Array, Array) (Line: 61)
__TwigTemplate_2dc434d11335e2eeca7d0ce8b7683224d369ba68e8e278723b005dd76efd4410->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/bootstrap_tlc/templates/block.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 281)
__TwigTemplate_53c81be80336d0b0e5e6d8ff28f142e31449354c639992a84bf10e6e27624779->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/bootstrap_tlc/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85)
__TwigTemplate_399dddb84ec80017bce25ec871abeadd833c4f4e8f6c68bf25a293e1e3a7fd73->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/bootstrap_tlc/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 431)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
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('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->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: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)