Unhandled Error!

Call to a member function list_children() on null

Document /modules/cms/classes/cms_controller.php(383) : eval()'d code
Document type PHP document
Line 53
Exception class Error
# Call Stack Code Document Line
11 eval(()) /modules/cms/classes/cms_controller.php 383
10 Cms_Controller->evalWithException('?><? if(BODY_CLASS == 'sungold') : ?> <ul class="breadcrumb grid_12"> <li class="prev"><a href="/">Home</a></li> <li class="prev"><a href="/shop">Shopping</a></li> <? if($category->parent && $category->parent->code != 'sungold') : ?> <li class="prev"><a href="<?= $category->parent->page_url('/category') ?>"><?= h($category->parent->name) ?></a></li> <? endif ?> <li class="current"><a href="<?= $category->page_url('/category') ?>"><?= h($category->name) ?></a></li> </ul> <? elseif(BODY_CLASS == 'diamonds' || BODY_CLASS == "dwu" || BODY_CLASS == "kernel" || BODY_CLASS == "mcs" || BODY_CLASS == "trailking") : switch(BODY_CLASS) { case 'dwu': $intro = "Looking for Dakota Wesleyan University apparel? You're in the right place! We carry DWU sweatshirts, t-shirts and other spirit wear. Show off your school spirit, and go Tigers!"; break; case 'kernel': $intro = "Looking for Mitchell Kernels apparel? You're in the right place! Browse from our selection of men's, women's and youth shirts, sweaters and various Mitchell Kernel spirit wear items."; break; case 'mcs': $intro = "Looking for Mitchell Christian School apparel? You're in the right place! Browse from our selection of men's, women's and youth shirts, sweaters and various Mitchell Christian School spirit wear items."; break; case 'diamonds': $intro = "We're your official source for Sioux Falls Diamonds apparel and team gear. Browse our selection of men's, women's and youth shirts and sweatshirts, and other Diamonds spirit items."; break; case 'trailking': $intro = "Your official source for Trail King apparel and gear. Browse our selection of shirts, sweatshirts, workwear and other Trail King branded items."; break; } ?> <section class="back-to-items grid_12"> <p class="grid_9 alpha"><?= h($intro) ?></p> <a href="/">Back to All Items</a> </section> <? endif; ?> <div class="clear"></div> <section class="category"> <? if(BODY_CLASS == 'sungold') : ?> <div class="top grid_12 border"> <h1><?= h($category->name) ?></h1> <? if(!$category->hide_category_store && $category->catalog_link_url && $category->catalog_link_title) : ?> <a href="<?= $category->catalog_link_url ?>" class="catalog-link" target="_blank"><?= h($category->catalog_link_title) ?></a> <? endif ?> </div> <? endif; ?> <? if($category->list_children('front_end_sort_order')) : ?> <ul class="product-list"> <? foreach($category->list_children('front_end_sort_order') as $child) : ?> <? if( !$child->hide_category_store ): ?> <li class="grid_3"> <a href="<?= $child->page_url('/category') ?>"><img src="<?= $child->image_url(0, 220, 'auto') ?>"></a> <div class="product-name"><a href="<?= $child->page_url('/category') ?>"><?= h($child->name) ?></a></div> </li> <? endif; ?> <? endforeach ?> </ul> <? endif ?> <? if($category->list_products()->apply_visibility()->find_all()->count > 0) : ?> <? $this->render_partial('shop:product_list', array('products'=>$category->list_products()->apply_visibility()->find_all())) ?> <? endif ?> </section>', 'CMS page', 'Category') /modules/cms/classes/cms_controller.php 608
9 Cms_Controller->eval_page_content(()) /modules/cms/classes/cms_controller.php 198
8 Cms_Controller->open(object(Cms_Page), array(1) [0 => 'alexandria-angels']) /controllers/application.php 72
7 Application->On404(()) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/category/alexandria-angels') /phproad/system/phproad.php 31
2 include('/home/forge/sungoldsports.com/phproad/system/phproad.php') /boot.php 114
1 require_once('/home/forge/sungoldsports.com/boot.php') /index.php 3