32spokes
Member
Posted 2 years ago #
I currently have a local install of WordPress 3.1 RC1 and I got this warning when I activated the widget in my side bar.
Notice: WP_Query was called with an argument that is deprecated since version 3.1! "caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead. in …/wp-includes/functions.php on line 3376
In the plugin file select_featured_posts.php on line 183 and line 185 change the "caller_get_posts=1" to "ignore_sticky_posts=1" and the plugin will work fine.
stvcg00
Member
Posted 2 years ago #
I am getting this "notice" to... did you figure out how to remove it?
stvcg00
Member
Posted 2 years ago #
son0fhobs
Member
Posted 1 year ago #
buditanrim
Member
Posted 1 year ago #
Hi I also have the same issue, how to solve it?
fallinov
Member
Posted 1 year ago #
My solution :
//Query cats (minus exclude cat)
$pCats = '5,-7,-8';
//Post to exlude
$pTabEcludePost = array(get_the_ID(),8,9)
$params = array (
'cat'=> $pCats,
'post__not_in' => $pTabEcludePost,
'posts_per_page' => 5,)
query_posts($params);