A client of mine who doesn't know PHP was using this code. I spent hours debugging it, trying to figure out why there was 404 errors for my custom post type list pages (not the single). Finally I decided to get rid of the plugin. To save myself some time, I exported the code and added to the theme functions file. Upon doing so I found a few problems:
'rewrite' => array('slug' => '')
'rewrite' => array('slug' => 'post-type-slug','with_front' => false),
You also need to add a new option:
'has_archive' => true
These to me our a big flaw. You should be able to treat custom post types as posts and have an individual listing page. After adding these two items the 404 errors went away and I was able to use my custom archive-post-type.php file.
I hope this helps at least one person because I know I was very frustrated after wasting so much time trying to figure out what was wrong.