/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Extension/Core.php(1275)
1263 * @return int The length of the value 1264 */ 1265 function twig_length_filter(Twig_Environment $env, $thing) 1266 { 1267 if (is_scalar($thing)) { 1268 return mb_strlen($thing, $env->getCharset()); 1269 } 1270 1271 if (is_object($thing) && method_exists($thing, '__toString') && !$thing instanceof \Countable) { 1272 return mb_strlen((string) $thing, $env->getCharset()); 1273 } 1274 1275 return count($thing); 1276 } 1277 1278 /** 1279 * Converts a string to uppercase. 1280 * 1281 * @param Twig_Environment $env 1282 * @param string $string A string 1283 * 1284 * @return string The uppercased string 1285 */ 1286 function twig_upper_filter(Twig_Environment $env, $string) 1287 {
#0 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/etc/web/WebApp.php(693): CApplication->handleError(2, "count(): Parameter must be an array or an object that implements...", "/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig...", 1275) 688 if (version_compare(PHP_VERSION, '7.1', '>=') && strpos($message, 'Narrowing occurred during type inference. Please file a bug report') !== false) 689 { 690 return; 691 } 692 693 parent::handleError($code, $message, $file, $line); 694 } 695 696 // Private Methods 697 // ========================================================================= 698 |
#1 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Extension/Core.php(1275): Craft\WebApp->handleError(2, "count(): Parameter must be an array or an object that implements...", "/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig...", 1275, ...) 1270 1271 if (is_object($thing) && method_exists($thing, '__toString') && !$thing instanceof \Countable) { 1272 return mb_strlen((string) $thing, $env->getCharset()); 1273 } 1274 1275 return count($thing); 1276 } 1277 1278 /** 1279 * Converts a string to uppercase. 1280 * |
#2 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/storage/runtime/compiled_templates/6c/6c6f977d824d3cd6d237cc5a7bcd5073231f23d2f102e44802d6678adb4083ef.php(73): twig_length_filter(Craft\TwigEnvironment, null) 68 { 69 // line 24 70 echo "\t\t\t\t\t\t 71 \t\t\t\t\t\t"; 72 // line 25 73 if ((twig_length_filter($this->env, $this->getAttribute(($context["entry"] ?? $this->getContext($context, "entry")), "eventEndDate", array())) > 0)) { 74 // line 26 75 echo "\t\t\t\t\t\t\t"; 76 if (($this->getAttribute($this->getAttribute(($context["entry"] ?? $this->getContext($context, "entry")), "eventEndDate", array()), "w3c", array(), "method") < $this->getAttribute(($context["now"] ?? $this->getContext($context, "now")), "w3c", array(), "method"))) { 77 // line 27 78 echo "\t\t\t\t\t\t\t\t<span class=\"event-past\">This is a past event</span><br> |
#3 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(215): __TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc->block_content(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"), "socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"))) 210 throw new LogicException('A block must be a method on a Twig_Template instance.'); 211 } 212 213 if (null !== $template) { 214 try { 215 $template->$block($context, $blocks); 216 } catch (Twig_Error $e) { 217 if (!$e->getSourceContext()) { 218 $e->setSourceContext($template->getSourceContext()); 219 } 220 |
#4 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/storage/runtime/compiled_templates/05/05d67f3475ab1d7ae3a64530f545f9cb2b9e0647ef77a2637b1c957923adb9f4.php(168): Twig_Template->displayBlock("content", array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"), "socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"))) 163 echo "\""; 164 } 165 echo " itemprop=\"mainContentOfPage\"> 166 \t\t\t"; 167 // line 70 168 $this->displayBlock('content', $context, $blocks); 169 // line 72 170 echo "\t\t</main> 171 172 \t\t"; 173 // line 74 |
#5 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_f04b307c3a6e5e2a1c52fe8b995e64962998e738b5eecd8c61f7a4faae46ae50->doDisplay(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"), "socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"))) 427 } 428 429 protected function displayWithErrorHandling(array $context, array $blocks = array()) 430 { 431 try { 432 $this->doDisplay($context, $blocks); 433 } catch (Twig_Error $e) { 434 if (!$e->getSourceContext()) { 435 $e->setSourceContext($this->getSourceContext()); 436 } 437 |
#6 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/etc/templating/BaseTemplate.php(26): Twig_Template->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"), "socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"))) 21 */ 22 protected function displayWithErrorHandling(array $context, array $blocks = array()) 23 { 24 try 25 { 26 parent::displayWithErrorHandling($context, $blocks); 27 } 28 catch (\Twig_Error_Runtime $e) 29 { 30 if (craft()->config->get('suppressTemplateErrors')) 31 { |
#7 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(403): Craft\BaseTemplate->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"), "socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"))) 398 return $this->blocks; 399 } 400 401 public function display(array $context, array $blocks = array()) 402 { 403 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 404 } 405 406 public function render(array $context) 407 { 408 $level = ob_get_level(); |
#8 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/storage/runtime/compiled_templates/6c/6c6f977d824d3cd6d237cc5a7bcd5073231f23d2f102e44802d6678adb4083ef.php(32): Twig_Template->display(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"), "content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"))) 27 // line 4 28 $context["metaDescription"] = $this->env->getExtension('Craft\HacksawTwigExtension')->hacksaw($this->env->getExtension('Craft\ParsedownTwigExtension')->parsedownFilter((($this->getAttribute(($context["entry"] ?? null), "metaDescription", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["entry"] ?? null), "metaDescription", array()), $this->getAttribute(($context["entry"] ?? $this->getContext($context, "entry")), "summary", array()))) : ($this->getAttribute(($context["entry"] ?? $this->getContext($context, "entry")), "summary", array()))))); 29 // line 12 30 $context["pageClass"] = ""; 31 // line 1 32 $this->parent->display($context, array_merge($this->blocks, $blocks)); 33 } 34 35 // line 6 36 public function block_socialImageId($context, array $blocks = array()) 37 { |
#9 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc->doDisplay(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"), "content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"))) 427 } 428 429 protected function displayWithErrorHandling(array $context, array $blocks = array()) 430 { 431 try { 432 $this->doDisplay($context, $blocks); 433 } catch (Twig_Error $e) { 434 if (!$e->getSourceContext()) { 435 $e->setSourceContext($this->getSourceContext()); 436 } 437 |
#10 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/etc/templating/BaseTemplate.php(26): Twig_Template->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"), "content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"))) 21 */ 22 protected function displayWithErrorHandling(array $context, array $blocks = array()) 23 { 24 try 25 { 26 parent::displayWithErrorHandling($context, $blocks); 27 } 28 catch (\Twig_Error_Runtime $e) 29 { 30 if (craft()->config->get('suppressTemplateErrors')) 31 { |
#11 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(403): Craft\BaseTemplate->displayWithErrorHandling(array("entry" => Craft\EntryModel, "user" => null, "currentUser" => null, "craft" => Craft\CraftVariable, ...), array("socialImageId" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_socialImageId"), "content" => array(__TwigTemplate_690cf1aebb01d5ca444f7ade97a21703ed7f8ceca02bbff14a2844b090c9eebc, "block_content"))) 398 return $this->blocks; 399 } 400 401 public function display(array $context, array $blocks = array()) 402 { 403 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 404 } 405 406 public function render(array $context) 407 { 408 $level = ob_get_level(); |
#12 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(array("entry" => Craft\EntryModel)) 406 public function render(array $context) 407 { 408 $level = ob_get_level(); 409 ob_start(); 410 try { 411 $this->display($context); 412 } catch (Exception $e) { 413 while (ob_get_level() > $level) { 414 ob_end_clean(); 415 } 416 |
#13 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/vendor/twig/twig/lib/Twig/Environment.php(362): Twig_Template->render(array("entry" => Craft\EntryModel)) 357 * @throws Twig_Error_Syntax When an error occurred during compilation 358 * @throws Twig_Error_Runtime When an error occurred during rendering 359 */ 360 public function render($name, array $context = array()) 361 { 362 return $this->loadTemplate($name)->render($context); 363 } 364 365 /** 366 * Displays a template. 367 * |
#14 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/services/TemplatesService.php(256): Twig_Environment->render("events/_entry", array("entry" => Craft\EntryModel)) 251 $lastRenderingTemplate = $this->_renderingTemplate; 252 $this->_renderingTemplate = $template; 253 254 try 255 { 256 $result = $twig->render($template, $variables); 257 } 258 catch (\RuntimeException $e) 259 { 260 if (!craft()->config->get('devMode')) 261 { |
#15 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/controllers/BaseController.php(74): Craft\TemplatesService->render("events/_entry", array("entry" => Craft\EntryModel)) 69 * @throws HttpException 70 * @return mixed The rendered template if $return is set to `true`. 71 */ 72 public function renderTemplate($template, $variables = array(), $return = false, $processOutput = false) 73 { 74 if (($output = craft()->templates->render($template, $variables)) !== false) 75 { 76 if ($processOutput) 77 { 78 $output = $this->processOutput($output); 79 } |
#16 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/controllers/TemplatesController.php(68): Craft\BaseController->renderTemplate("events/_entry", array("entry" => Craft\EntryModel)) 63 public function actionRender($template, array $variables = array()) 64 { 65 // Does that template exist? 66 if (craft()->templates->doesTemplateExist($template)) 67 { 68 $this->renderTemplate($template, $variables); 69 } 70 else 71 { 72 throw new HttpException(404); 73 } |
#17 |
unknown(0): Craft\TemplatesController->actionRender("events/_entry", array("entry" => Craft\EntryModel))
|
#18 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Craft\TemplatesController, array("events/_entry", array("entry" => Craft\EntryModel))) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#19 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Craft\TemplatesController, ReflectionMethod, array("p" => "events/2015/10/30/call-for-proposals-luna-fête-2015-community-c...", "variables" => array("entry" => Craft\EntryModel), "template" => "events/_entry")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#20 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/CController.php(308): CInlineAction->runWithParams(array("p" => "events/2015/10/30/call-for-proposals-luna-fête-2015-community-c...", "variables" => array("entry" => Craft\EntryModel), "template" => "events/_entry")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#21 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#22 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#23 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/CWebApplication.php(282): CController->run("render") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#24 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/web/CWebApplication.php(141): CWebApplication->runController("templates/render") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#25 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/etc/web/WebApp.php(290): CWebApplication->processRequest() 285 286 // If this is an action request, call the controller 287 $this->_processActionRequest(); 288 289 // If we're still here, finally let UrlManager do it's thing. 290 parent::processRequest(); 291 } 292 293 /** 294 * Returns the target application language. 295 * |
#26 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/framework/base/CApplication.php(185): Craft\WebApp->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#27 |
+
–
/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/index.php(62): CApplication->run() 57 58 // Load and run Craft 59 // ----------------------------------------------------------------------------- 60 61 $app = require 'bootstrap.php'; 62 $app->run(); |
#28 |
+
–
/home/yz5zbtsx4ic0/public_html/index.php(17): require_once("/home/yz5zbtsx4ic0/domains/pelicanbomb.com/craft/app/index.php") 12 if (!is_file($path)) 13 { 14 exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__); 15 } 16 17 require_once $path; |