[Resolved] Problem with calling query_posts()
I am running XAMPP latest version and WP 3.0.
When I try to use query_posts() for retrieving posts by slugs.
I am getting this error
Warning: trim() expects parameter 1 to be string, array given in C:\xampp\htdocs\wordpress\wp-includes\query.php on line 1272
if (have_posts()) :
while (have_posts()) :
What is wrong with this ? If I cannot use this , can you please suggest alternatives? This works when I put query as ‘name=guitar’
- The topic ‘[Resolved] Problem with calling query_posts()’ is closed to new replies.