Title: Occurred notice in WordPress debug when use &#039;Posts&#039; shortcode..
Last modified: August 30, 2016

---

# Occurred notice in WordPress debug when use 'Posts' shortcode..

 *  [nuXbox](https://wordpress.org/support/users/nuxbox/)
 * (@nuxbox)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/occurred-notice-in-wordpress-debug-when-use-posts-shortcode/)
 * Hello,
 * I have a warning/notice in WordPress debug when use ‘Posts’ shortcode. The warning/
   notice like below:
 *     ```
       NOTICE: wp-includes/post-thumbnail-template.php:77 - Trying to get property of non-object
       require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/customizr-pro/index.php'), do_action('__loop'), call_user_func_array, TC_page->tc_page_content, the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, Su_Shortcodes::posts, load_template, require('/plugins/shortcodes-ultimate/templates/teaser-loop.php'), the_post_thumbnail, get_the_post_thumbnail, update_post_thumbnail_cache
   
       NOTICE: wp-includes/post-thumbnail-template.php:77 - Undefined property: WP_Tax_Query::$ID
       require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/customizr-pro/index.php'), do_action('__loop'), call_user_func_array, TC_page->tc_page_content, the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, Su_Shortcodes::posts, load_template, require('/plugins/shortcodes-ultimate/templates/teaser-loop.php'), the_post_thumbnail, get_the_post_thumbnail, update_post_thumbnail_cache
   
       NOTICE: wp-includes/post-thumbnail-template.php:77 - Undefined property: WP_Meta_Query::$ID
       require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/customizr-pro/index.php'), do_action('__loop'), call_user_func_array, TC_page->tc_page_content, the_content, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, Su_Shortcodes::posts, load_template, require('/plugins/shortcodes-ultimate/templates/teaser-loop.php'), the_post_thumbnail, get_the_post_thumbnail, update_post_thumbnail_cache
       ```
   
 * I wish a suggestions how to resolve it.
 * Thanks in advance!
 * [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [javiermil](https://wordpress.org/support/users/javiermil/)
 * (@javiermil)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/occurred-notice-in-wordpress-debug-when-use-posts-shortcode/#post-6727553)
 * Hi, i have the same problem, any solution?
 *  Thread Starter [nuXbox](https://wordpress.org/support/users/nuxbox/)
 * (@nuxbox)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/occurred-notice-in-wordpress-debug-when-use-posts-shortcode/#post-6727558)
 * Hi Javiermil,
 * Not yet from me, how about you? and is there any solution from the Plugin Author?
 *  [gerikg](https://wordpress.org/support/users/gerikg/)
 * (@gerikg)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/occurred-notice-in-wordpress-debug-when-use-posts-shortcode/#post-6727561)
 * I know this is a blah answer but does it happen with any other themes?
 * You’re using Customizr Pro, try switching to the default themes and see if you
   get the same error.
 * or use your theme’s method: [http://presscustomizr.com/snippet/make-customizr-slider-display-recent-posts/](http://presscustomizr.com/snippet/make-customizr-slider-display-recent-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Occurred notice in WordPress debug when use 'Posts' shortcode..’ is closed
to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [gerikg](https://wordpress.org/support/users/gerikg/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/occurred-notice-in-wordpress-debug-when-use-posts-shortcode/#post-6727561)
 * Status: not resolved