Unhandled Error!

Undefined index: method

Document /phproad/modules/phpr/classes/phpr_datetimeformat.php
Document type PHP document
Line 221
Exception class Phpr_PhpException

Code Highlight

				$specifierDesc = self::$formatSpecifiers[$MatchSpecifier];
 
				// Evaluate the specifier value in case if it was not evaluated so far
				//
				if ( !array_key_exists( $MatchSpecifier, $processedSpecifiers ) ) {
					$specifierValue = null;
					$method = $specifierDesc[self::spMethod];
 
					if ( $method != self::spCustomMethod ) {
						// Evaluate auto method values
						//
						if ( array_key_exists( $method, $methodValues ) )
							$methodValue = $methodValues[$method];
# Call Stack Code Document Line
15 Phpr_DateTimeFormat::formatDateTime(object(Phpr_DateTime), '%x') /phproad/modules/phpr/classes/phpr_datetime.php 567
14 Phpr_DateTime->format('%x') /modules/cms/classes/cms_controller.php(383) : eval()'d code 43
13 eval(()) /modules/cms/classes/cms_controller.php 383
12 Cms_Controller->evalWithException('?> </section> </section> <!--<div class="twitter-bar"> <div class="container"> <div class="row"> <?php //$this->render_partial('tdboutique:tweets'); ?> </div> </div> </div>--> <div class="footer"> <div class="container"> <div class="row"> <div class="col-sm-2"> <div class="support"> <? global_content_block('footer1') ?> </div> </div> <div class="col-sm-2"> <div class="categories"> <? global_content_block('footer2') ?> </div> </div> <div class="col-sm-2"> <? global_content_block('footer3') ?> <!--<?php $posts = Blog_Post::create()->list_recent_posts(10, false); ?> <?php if($posts): ?> <h6>From the blog</h6> <ul class="list-chevron links"> <?php foreach($posts as $post): ?> <li> <a href="<?php echo root_url("/blog/post/$post->url_title/"); ?>"> <?php echo h($post->title); ?> </a> <small><?php echo $post->published_date->format('%x'); ?></small> </li> <?php endforeach; ?> </ul> <?php else: ?> &nbsp; <?php endif; ?>--> </div> <div class="col-sm-2"> <? global_content_block('footer4') ?> &nbsp; <?php /* <div class="twitter"> <h6>Twitter feed</h6> <div class="tweets"> </div> </div> */ ?> </div> <div class="col-md-2 col-sm-4"> <? global_content_block('footer5') ?> &nbsp; <?php /* <div class="twitter"> <h6>Twitter feed</h6> <div class="tweets"> </div> </div> */ ?> </div> <div class="clearfix visible-sm"></div> <div class="col-md-2 col-sm-12"> <?php // $this->render_partial('layout:newsletter_subscription'); ?> <?php // $this->render_partial('layout:social_icons'); ?> <div class="gsocial"> <h6>Follow us</h6> <ul class="links"> <li><a href="http://www.facebook.com/pages/Garratt-Publishing/193354644016695"><i class="icon-facebook-sign"></i> Facebook</a></li> <li><a href="https://twitter.com/#!/GarrattPub"><i class="icon-twitter-sign"></i> Twitter</a></li> <li><a href="https://plus.google.com/b/115373611643238411892/"><i class="icon-google-plus-sign"></i> Google+</a></li> <li><a href="http://www.youtube.com/user/JohnGarratt1"><i class="icon-youtube-sign"></i> YouTube</a></li> </ul> </div> </div> </div> </div> </div> <div class="credits"> <div class="container"> <div class="row"> <div class="col-sm-9"> <p>Copyright &copy; <?php echo date('Y'); ?> Garratt Publishing. Prices may vary without notice.</p> </div> <div class="col-sm-3 text-right hidden-phone"> <p>Website by <a href="http://www.summitcreative.com.au/">Summit Creative</a></p> </div> </div> </div> </div> <?php if( function_exists('boutique_setting') ): ?> <?php if( boutique_setting('show_options_panel') ): ?> <div class="options-panel"> <div class="options-panel-content"> <div class="row"> <div class="col-sm-12"> <div class="control-group"> <label for="option_color_scheme" class="control-label">Color scheme</label> <div class="controls"> <select name="option_color_scheme" id="option_color_scheme" class="col-sm-12"> <?php $obj = new Tdboutique_Module; $color_schemes = $obj->getSettingsFieldOptions('tdboutique', 'boutique-settings', 'color_scheme'); ?> <?php foreach($color_schemes as $k => $v): ?> <option value="<?php echo theme_resource_url("/css/color-schemes/$k.css"); ?>"><?php echo $v; ?></option> <?php endforeach; ?> </select> </div> </div> </div> </div> </div> <div class="options-panel-toggle"> <a href="#" title=""><i class="icon-cog"></i></a> </div> </div> <?php endif; ?> <?php endif; ?> <div id="__newsletter_subscribe" class="modal fade" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <hgroup class="title"> <h3>You are now subscribed to our newsletter</h3> <h5>All the latest deals and offers will be making their way to your inbox shortly!</h5> </hgroup> </div> <div class="modal-footer"> <div class="pull-left"> <button data-dismiss="modal" aria-hidden="true" href="#" class="btn btn-small"> Close &nbsp; <i class="icon-ok"></i> </button> </div> </div> </div> </div> </div> </div> </body> <!-- SessionCam Client Integration v6.0 --> <script type="text/javascript"> //<![CDATA[ var scRec=document.createElement('SCRIPT'); scRec.type='text/javascript'; scRec.src="//d2oh4tlt9mrke9.cloudfront.net/Record/js/sessioncam.recorder.js"; document.getElementsByTagName('head')[0].appendChild(scRec); //]]> </script> <!-- End SessionCam --> </html>', 'CMS partial', 'layout:footer', array(0)) /modules/cms/classes/cms_controller.php 1020
11 Cms_Controller->render_partial('layout:footer') /modules/cms/classes/cms_controller.php(383) : eval()'d code 3
10 eval(()) /modules/cms/classes/cms_controller.php 383
9 Cms_Controller->evalWithException('?><?php $this->render_partial('layout:header'); ?> <?php $this->render_page(); ?> <?php $this->render_partial('layout:footer'); ?>', 'CMS template', 'Standard') /modules/cms/classes/cms_controller.php 211
8 Cms_Controller->open(object(Cms_Page), array(7) [0 => 'bestsellers', 1 => 'category', 2 => 'ronald-rolheiser', 3 => 'category', 4 => 'gerhard-lohfink', 5 => 'category', 6 => 'frank-brennan']) /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/bestsellers/category/ronald-rolheiser/category/gerhard-lohfink/category/frank-brennan') /phproad/system/phproad.php 31
2 include('/home/garrattpublishin/public_html/phproad/system/phproad.php') /boot.php 113
1 require_once('/home/garrattpublishin/public_html/boot.php') /index.php 3