• 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://ww.wp.xz.cn/plugins/shortcodes-ultimate/

Viewing 3 replies - 1 through 3 (of 3 total)
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.