Trying to get property of non-object notices
-
I am getting a couple of Trying to get property of non-object notices on every page I use a widget with the plugin. I was able to trace it back to this plugin as it is show from the call stack below (note – it is always these two notices, probably logical that the same notice is thrown on two consecutive lines):
Trying to get property of non-object
wp-includes/post.php:6073wp_queue_posts_for_term_meta_lazyload()
wp-includes/class-wp-query.php:3017
WP_Query->get_posts()
wp-includes/class-wp-query.php:3238
WP_Query->query()
wp-includes/class-wp-query.php:3347
WP_Query->__construct()
wp-content/plugins/posts-in-sidebar/inc/pis-main.php:527
pis_get_posts_in_sidebar()
wp-content/plugins/posts-in-sidebar/inc/pis-main.php:873
pis_posts_in_sidebar()
wp-content/plugins/posts-in-sidebar/inc/pis-widget.php:474
PIS_Posts_In_Sidebar->widget()
wp-includes/class-wp-widget.php:395
WP_Widget->display_callback()
wp-includes/widgets.php:738
dynamic_sidebar(‘sidebar’)
wp-content/themes/themedir/sidebar.php:3Trying to get property of non-object
wp-includes/post.php:6074wp_queue_posts_for_term_meta_lazyload()
wp-includes/class-wp-query.php:3017
WP_Query->get_posts()
wp-includes/class-wp-query.php:3238
WP_Query->query()
wp-includes/class-wp-query.php:3347
WP_Query->__construct()
wp-content/plugins/posts-in-sidebar/inc/pis-main.php:527
pis_get_posts_in_sidebar()
wp-content/plugins/posts-in-sidebar/inc/pis-main.php:873
pis_posts_in_sidebar()
wp-content/plugins/posts-in-sidebar/inc/pis-widget.php:474
PIS_Posts_In_Sidebar->widget()
wp-includes/class-wp-widget.php:395
WP_Widget->display_callback()
wp-includes/widgets.php:738
dynamic_sidebar(‘sidebar’)
wp-content/themes/themedir/sidebar.php:3
- The topic ‘Trying to get property of non-object notices’ is closed to new replies.