novaramedia / novaramedia-com

Variable is used but not defined PHP-W1066
Bug risk
Major
2 years ago2 years old
Variable $wp_query might not be defined
 1<?php
 2get_header();
 3
 4$term = $wp_query->get_queried_object(); 5
 6$splash_override_image_id = get_term_meta($term->term_id, '_nm_focus_splash_override_id', true);
 7$splash_image_id = !empty($splash_override_image_id) ? $splash_override_image_id : get_term_meta($term->term_id, '_nm_focus_splash_id', true); // if there is an override us it, otherwise get the open graph & splash combo image
Variable $wp_query might not be defined
  1<?php
  2get_header();
  3
  4$term = $wp_query->get_queried_object();  5
  6$quotes = get_term_meta($term->term_id, '_nm_focus_quotes', true);
  7$credits = get_term_meta($term->term_id, '_nm_focus_credits', true);
Variable $post might not be defined
42
43    $type_category = get_child_level_child_category($post->ID); // check for child level category for display
44
45    $focus_terms = wp_get_post_terms($post->ID, 'focus'); // check for focus on the post46    $focus_tax = count($focus_terms) > 0 ? $focus_terms[0] : false;
47?>
48
Variable $post might not be defined
40
41    $category_link = get_category_link($topLevelCategory->term_id);
42
43    $type_category = get_child_level_child_category($post->ID); // check for child level category for display44
45    $focus_terms = wp_get_post_terms($post->ID, 'focus'); // check for focus on the post
46    $focus_tax = count($focus_terms) > 0 ? $focus_terms[0] : false;
Variable $post might not be defined
12    the_post();
13    $meta = get_post_meta($post->ID);
14
15    $email_subject = strtoupper($post->post_title);16?>
17  <!-- main posts loop -->
18  <article id="job" class="container margin-top-small margin-bottom-large">