Title: narchives problems
Last modified: August 18, 2016

---

# narchives problems

 *  [markusz](https://wordpress.org/support/users/markusz/)
 * (@markusz)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/narchives-problems/)
 * I have added a call to my sidebar (that I would like to have on the left side)
   as the second statement in the narchives.php body:
 * </head>
    <body> <div id=”page”> <?php get_sidebar(); ?>
 * this produces the folowing warning at the top of the narchives.php, otherwise
   narchives works fine:
 * Warning: extract() [function.extract]: First argument should be an array in
    
   wordpress/wp-includes/functions.php on line 1733
 * This is the relevant line from functions.php:
    extract($wp_query->query_vars);
 *  require_once($file);
    }
 * Additionally, entries where I have edited the post date or are deleted also show
   up on the narchies page. How can I get rid of them?
 * Any help is very much appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [chad_coleman](https://wordpress.org/support/users/chad_coleman/)
 * (@chad_coleman)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/narchives-problems/#post-151302)
 * Im having this exact same problem.
 * Have you or anyone found the solution???
 * here is what my source looks like
 * [http://passtheammo.com/narchives.phps](http://passtheammo.com/narchives.phps)
 *  [Ruby Sinreich](https://wordpress.org/support/users/rubyji/)
 * (@rubyji)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/narchives-problems/#post-151388)
 * I got this to work with WP 1.5 by making two major changes:
 * 1. Start the document like this:
    `<?php require('./wp-blog-header.php'); ?> 
   <?php get_header(); ?> …and then so on with your template.
 * But then this makes it only show your default number of posts per page so …
 * 2. Go into where the PHP stuff starts and replace this:
    `posts_per_page=-1` 
   with this: `$posts = query_posts($query_string . '&posts_per_page=-1');`
 * I hope this helps!
 * You can see mine in action at [http://orangepolitics.org/narchives.php](http://orangepolitics.org/narchives.php)
 *  [archshrk](https://wordpress.org/support/users/archshrk/)
 * (@archshrk)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/narchives-problems/#post-151425)
 * Works like a charm, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘narchives problems’ is closed to new replies.

 * 3 replies
 * 4 participants
 * Last reply from: [archshrk](https://wordpress.org/support/users/archshrk/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/narchives-problems/#post-151425)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
