Support » Plugins » error with query_posts

  • Hello, I have a problem with a plugin that does not want to make a query :

    class Folio_Newsticker {
    	function Folio_Newsticker($category='64') {
    		$temp_query = $wp_query;
    $Folio_Newsticker = new Folio_Newsticker();

    I get a

    Fatal error: Call to undefined function is_user_logged_in() in F:\web\AnimaV2\public_html\wordpress\wp-includes\query.php on line 1332

    because of the query_posts('cat=64'); line : if I remove it, it doesn’t crash.


    function Folio_Newsticker($category='64') {
    	if (!is_home()) {

    this don’t work and that’s strange because i’m in home !

    Does anyone have an idea ?

    Thanks !

  • The topic ‘error with query_posts’ is closed to new replies.