( ! ) Fatal error: Uncaught Error: Call to a member function getId() on null in /home/fedlerstudio/public_html/dz/Core/SD_Template.php(138) : eval()'d code on line 32
( ! ) Error: Call to a member function getId() on null in /home/fedlerstudio/public_html/dz/Core/SD_Template.php(138) : eval()'d code on line 32
Call Stack
#TimeMemoryFunctionLocation
10.0000420336{main}( ).../index.html:0
20.0134461792SD_Template::render( ).../index.html:7
30.0134461920SD_Template->__construct( ).../SD_Template.php:166
40.0144465272SD_Template::checkFile( ).../SD_Template.php:39
50.0147495912eval( ' $gid = $_REQUEST["g"]; /** * Pull our group */ $group = SDI_Groups::loadGroup($gid); /** * Pull the page */ $page = SDI_CMS::loadPage($group->getPage()); if($page){ $group_name = $page->getContentArea("title"); $group_desc = $page->getContentArea("main_content"); } else{ $group_name = ""; $group_desc = ""; } $evts = SDI_Event::loadEventsForGroup($group->getId()); $events = "\n"; $cnt = 0; for($i=0; $igetId()); $min = 1; $max = sizeof($images)-1; if($max > 1){ $seed = rand($min, $max); $image = $images[$seed]; } else{ $image = $images[0]; } $arr = getimagesize(SD_FileHandler::checkImageType(SD_BASE_PATH . "events/" . $evts[$i]->getId()) . "/images/thumb/" . $image); $trys = 0; while($arr[0] < $arr[1] && $trys < 5){ $seed = rand($min, $max); $image = $images[$seed]; $arr = getimagesize(SD_FileHandler::checkImageType(SD_BASE_PATH . "events/" . $evts[$i]->getId()) . "/images/thumb/" . $image); $trys++; } $url = SD_SECURE_URL . "order/" . $evts[$i]->getId() . "/preview.html"; $imgUrl = SD_SECURE_URL . "getImage.php?r=" . base64_encode(SD_FileHandler::checkImageType("events/" . $evts[$i]->getId()) . "/images/thumb/" . $image); if($cnt == 0){ $events .= "\n"; $events .= "\n"; $cnt++; } else if($cnt == 3){ $events .= "\n"; $events .= "\n"; $cnt = 0; } else{ $events .= "\n"; $cnt++; } } for($j=$cnt; $j<4; $j++){ $events .= "\n"; } $events .= "\n"; $events .= "
\n"; $events .= "
\n"; $events .= "\n"; $events .= "
\n"; $events .= "
\n"; $events .= "\n"; $events .= "
\n"; $events .= "
\n"; $events .= "\n"; $events .= "
 
\n"; return(array( "group_name"=>$group_name, "group_description"=>$group_desc, "events"=>$events )); ?>'
)
.../SD_Template.php:138