title: WordPress Debug: WP_Http & Notice | briarnblaar.co.za | Critical Error Screen
body: <p>I have a Pipe Smokers forum briarnblaar.co.za - which I created on WordPress using the disputo theme and bbPress forum.</p>
  <p>My site frequently gives a white screen with a critical error message and then I need to reload the screen.  I installed the Debug bar, enabled WP_DEBUG and when I go to my page, I see a white banner with the following message:</p>
  <blockquote>
  <p>Notice: Trying to get property 'ID' of non-object in /home/briardsj/public_html/wp-includes/class-wp-query.php on line 4027</p>
  <p>Notice: Trying to get property 'post_title' of non-object in /home/briardsj/public_html/wp-includes/class-wp-query.php on line 4029</p>
  <p>Notice: Trying to get property 'post_name' of non-object in /home/briardsj/public_html/wp-includes/class-wp-query.php on line 4031</p>
  <p>Notice: Trying to get property 'post_type' of non-object in /home/briardsj/public_html/wp-includes/class-wp-query.php on line 4179&quot;</p>
  </blockquote>
  <p>When I click on the debug button, I get</p>
  <p>A warning:</p>
  <blockquote>
  <p>NOTICE: wp-content/plugins/disputo-features/so-widgets/disputo-forums/tpl/disputo-forums-template.php:21 - Undefined variable: disputo_thumbnail
  require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/disputo/page_template_2.php'), the_content, apply_filters('the_content'), WP_Hook-&gt;apply_filters, SiteOrigin_Panels-&gt;generate_post_content, SiteOrigin_Panels_Renderer-&gt;render, SiteOrigin_Panels_Renderer-&gt;render_row, SiteOrigin_Panels_Renderer-&gt;render_cell, SiteOrigin_Panels_Renderer-&gt;render_widget, SiteOrigin_Panels_Renderer-&gt;the_widget, SiteOrigin_Widget-&gt;widget, include('/plugins/disputo-features/so-widgets/disputo-forums/tpl/disputo-forums-template.php')</p>
  </blockquote>
  <p>I also get a message under the WP_Http tab:</p>
  <pre><code>[class] =&gt; Requests
  [stack_trace] =&gt; Array
          (
              [0] =&gt; Debug_Bar_WP_Http-&gt;after_http_request
              [1] =&gt; WP_Hook-&gt;apply_filters
              [2] =&gt; WP_Hook-&gt;do_action
              [3] =&gt; do_action('http_api_debug')
              [4] =&gt; WP_Http-&gt;request
              [5] =&gt; WP_Http-&gt;post
              [6] =&gt; wp_remote_post
              [7] =&gt; spawn_cron
              [8] =&gt; wp_cron
              [9] =&gt; WP_Hook-&gt;apply_filters
              [10] =&gt; WP_Hook-&gt;do_action
              [11] =&gt; do_action('init')
              [12] =&gt; require_once('wp-settings.php')
              [13] =&gt; require_once('wp-config.php')
              [14] =&gt; require_once('wp-load.php')
              [15] =&gt; require_once('wp-admin/admin.php')
  </code></pre>
  <p>I have no coding knowledge nor experience.  Can someone please in laymen's terms tell me what should I do to get this sorted?</p>
  <p>I would really appreciate any help.  Thank you in advance.</p>