Skip to primary content
vcoss logo
  • Policy
    • About Policy
    • Policy Library
    • Articles and analysis
  • Projects and campaigns
  • About
    • About VCOSS
    • Our team
    • Work with us
  • Join
  • Contact
    • Media
    • Subscribe

Trying to get property 'post_name' of non-object

(1/1) ErrorException

Trying to get property 'post_name' of non-object

in header.php line 121
at RegisterExceptionHandler->handleError(8, 'Trying to get property \'post_name\' of non-object', '/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/header.php', 121, array('_template_file' => '/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/header.php', 'load_once' => true, 'args' => array(), 'posts' => array(), 'post' => null, 'wp_did_header' => true, 'wp_query' => object(WP_Query), 'wp_rewrite' => object(WP_Rewrite), 'wpdb' => object(wpdb), 'wp_version' => '6.3.1', 'wp' => object(WP), 'id' => null, 'comment' => null, 'user_ID' => 0, 's' => '', 'error' => '', 'm' => '', 'p' => 0, 'post_parent' => '', 'subpost' => '', 'subpost_id' => '', 'attachment' => '', 'attachment_id' => 0, 'name' => '', 'pagename' => '', 'page_id' => 0, 'second' => '', 'minute' => '', 'hour' => '', 'day' => 0, 'monthnum' => 0, 'year' => 0, 'w' => 0, 'category_name' => '', 'tag' => '', 'cat' => '', 'tag_id' => '', 'author' => '', 'author_name' => '', 'feed' => '', 'tb' => '', 'paged' => 0, 'meta_key' => '', 'meta_value' => '', 'preview' => '', 'sentence' => '', 'title' => '', 'fields' => '', 'menu_order' => '', 'embed' => '', 'category__in' => array(), 'category__not_in' => array(), 'category__and' => array(), 'post__in' => array(), 'post__not_in' => array(), 'post_name__in' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag__and' => array(), 'tag_slug__in' => array(), 'tag_slug__and' => array(), 'post_parent__in' => array(), 'post_parent__not_in' => array(), 'author__in' => array(), 'author__not_in' => array(), 'search_columns' => array(), 'ignore_sticky_posts' => false, 'suppress_filters' => false, 'cache_results' => true, 'update_post_term_cache' => true, 'update_menu_item_cache' => false, 'lazy_load_term_meta' => true, 'update_post_meta_cache' => true, 'post_type' => '', 'posts_per_page' => 30, 'nopaging' => false, 'comments_per_page' => '50', 'no_found_rows' => false, 'taxonomy' => 'event-speakers', 'term' => 'speaker-4', 'order' => 'DESC', 'post_thumbnail' => false, 'search_query' => ''))in header.php line 121
at require_once('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/header.php')in template.php line 785
at load_template('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/header.php', true, array())in template.php line 720
at locate_template(array('header.php'), true, true, array())in general-template.php line 48
at get_header()in index.php line 7
at include('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/index.php')in WordPressControllersServiceProvider.php line 23
at WordPressControllersServiceProvider->handleTemplateInclude('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/index.php')in class-wp-hook.php line 310
at WP_Hook->apply_filters('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/index.php', array('/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/index.php'))in plugin.php line 205
at apply_filters('template_include', '/home2/vcossorg/www.vcoss.org.au/wp-content/themes/vcoss/index.php')in template-loader.php line 104
at require_once('/home2/vcossorg/www.vcoss.org.au/wp-includes/template-loader.php')in wp-blog-header.php line 19
at require('/home2/vcossorg/www.vcoss.org.au/wp-blog-header.php')in index.php line 17