Support » Plugins » Hacks » Unknown: is_a(): Deprecated

  • I am trying to get a wordpress posts from specific category to show up outside of the install of wordpress by using:

    <?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
    				<h2><?php the_title(); ?></h2>
    				<p><?php the_excerpt(); ?></p>
    				<p><a href="<?php the_permalink(); ?>">Read more...</a></p>
    				<?php endwhile; ?>

    The post shows up, and so does this message:

    Unknown: is_a(): Deprecated. Please use the instanceof operator in /home3/neosaxco/public_html/blog/wp-includes/class-wp-error.php on line 207

  • The topic ‘Unknown: is_a(): Deprecated’ is closed to new replies.