PHP warning

Creating default object from empty value

/home/quincycv/public_html/wp-content/themes/boldnews/functions/admin-hooks.php(160)

148 
149 if ( ! function_exists( 'woo_get_query_context' ) ) {
150     function woo_get_query_context() {
151         global $wp_query, $query_context;
152         
153         /* If $query_context->context has been set, don't run through the conditionals again. Just return the variable. */
154         if ( isset( $query_context->context ) && is_array( $query_context->context ) ) {
155         
156             return $query_context->context;
157         
158         } // End IF Statement
159         
160         $query_context->context = array();
161     
162         /* Front page of the site. */
163         if ( is_front_page() ) {
164         
165             $query_context->context[] = 'home';
166             
167         } // End IF Statement
168     
169         /* Blog page. */
170         if ( is_home() && ! is_front_page() ) {
171         
172             $query_context->context[] = 'blog';

Stack Trace

#0
+
 /home/quincycv/public_html/wp-content/themes/boldnews/functions/admin-hooks.php(90): woo_get_query_context()
85     
86         /* Do actions on the basic hook. */
87         do_action( $tag, $args );
88     
89         /* Loop through context array and fire actions on a contextual scale. */
90         foreach ( (array) woo_get_query_context() as $context ) {
91         
92             do_action( "{$tag}_{$context}", $args );
93             
94         } // End FOREACH Loop
95             
#1
+
 /home/quincycv/public_html/wp-content/themes/boldnews/functions/admin-hooks.php(21): woo_do_atomic("woo_head")
16 /*-----------------------------------------------------------------------------------*/
17 /* Hook Definitions */
18 /*-----------------------------------------------------------------------------------*/
19 
20 // header.php
21 function woo_head() { woo_do_atomic( 'woo_head' ); }                    
22 function woo_top() { woo_do_atomic( 'woo_top' ); }                    
23 function woo_header_before() { woo_do_atomic( 'woo_header_before' ); }            
24 function woo_header_inside() { woo_do_atomic( 'woo_header_inside' ); }                
25 function woo_header_after() { woo_do_atomic( 'woo_header_after' ); }            
26 function woo_nav_before() { woo_do_atomic( 'woo_nav_before' ); }                    
#2
+
 /home/quincycv/public_html/wp-content/themes/boldnews/header.php(14): woo_head()
09 <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( $woo_options['woo_feed_url'] ) { echo $woo_options['woo_feed_url']; } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
11 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
12       
13 <?php wp_head(); ?>
14 <?php woo_head(); ?>
15 
16 <!-- Google Webfonts --> 
17 <link href="http://fonts.googleapis.com/css?family=PT+Sans:r,b" rel="stylesheet" type="text/css" />
18 
19 
2014-07-29 14:45:19 LiteSpeed Yii Framework/1.1.13