Title: Cache Plugin Error -1
Last modified: August 30, 2016

---

# Cache Plugin Error -1

 *  Resolved [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/)
 * Thanks so much for this well thought out plugin. It’s just what we’ve been looking
   for, forever!
 * Anyway, I enabled cache (via functions.php) and added the github cache plugin.
   It finds 1,300 posts, but when I tell it to cache it returns an Error -1.
 * [https://wordpress.org/plugins/related-posts-by-taxonomy/](https://wordpress.org/plugins/related-posts-by-taxonomy/)

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

 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866968)
 * Hi Agrajag27
 * I can reproduce the bug. It’s fixed in the new version. Let me know if the new
   version fixes it for you.
 * [https://github.com/keesiemeijer/related-posts-by-taxonomy-cache](https://github.com/keesiemeijer/related-posts-by-taxonomy-cache)
 * In the coming month I will add a WP-CLI command to this cache plugin and make
   it more reliable.
    [http://wp-cli.org/](http://wp-cli.org/)
 * Thanks for letting me know
 *  Thread Starter [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866988)
 * GREAT news. Just so you know, I also added the line to functions.php for showing
   the cache state and I’ll be darned if I can find this display anywhere. hehehe
 *  Thread Starter [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866989)
 * Keesie,
 * Not sure what I’m seeing now. I load it, click “Cache Related Posts!” and immediately
   a pop-up appears that says just two things:
 * -1
    OK
 * That’s it.
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866990)
 * > Just so you know, I also added the line to functions.php for showing the cache
   > state and I’ll be darned if I can find this display anywhere. hehehe
 * It should be in the toolbar at the top of your site (if you’re logged in as a
   admin).
 * So you still get the -1 after updating the plugin?
    [https://github.com/keesiemeijer/related-posts-by-taxonomy-cache](https://github.com/keesiemeijer/related-posts-by-taxonomy-cache)
 * I have some time tomorrow and look into it
 *  Thread Starter [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866992)
 * I’m logged in and admin, but no such item on my toolbar.
 * This -1 error is different than before. Before it was a red text with Error -
   1 on it. This is a pop-up with -1. So apparently it got farther.
 *  Thread Starter [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6866993)
 * Okay, this is interesting. I was looking for the plugin toolbox item on the Dashboard
   toolbox. It does NOT appear there. HOWEVER, it does appear there on the actual
   front page toolbar.
 * Sadly (but perhaps helpfully) it says, “Cache not used”.
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6867008)
 * Yes, the cache log is only displayed on the front end of your site (when you’re
   logged in).
 * The “Cache not used” message could be better 🙂
    It means it didn’t find a widget
   or shortcode in the current page, so there is nothing to cache or get from cache.
 * Can you update the cache extension again to 1.1.
 * Test with only these plugins active
    Related Posts by Taxonomy version 2.1.1 
   Related Posts by Taxonomy Cache version 1.1
 * The minus 1 error is returned by the WP function check_ajax_referer
    [https://developer.wordpress.org/reference/functions/check_ajax_referer/](https://developer.wordpress.org/reference/functions/check_ajax_referer/)
 * It doesn’t think the ajax request comes from the cache extension’s settings page.
   It’s a security measure ensuring only valid requests are processed. I don’t know
   why it thinks your request isn’t valid though.
 *  Thread Starter [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * (@agrajag27)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6867027)
 * (Reminder — See my reply to your reply in my Review)
 * I am testing this now with the site as is given that it’s a heavy read time for
   us and I have literally 25 plugins. Will have to wait for it to slow down a bit
   for full testing.
 * Also, went to a post page and the Toolbox area had two entries:
 * Post ID 12737 – cache not exists
    Post ID 12737 – caching posts…
 * The seems contradictory.
 * Lastly, with everything as is (full plugins loaded) it still just gives -1 pop-
   up. Will test this when it gets slow.

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

The topic ‘Cache Plugin Error -1’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-by-taxonomy/assets/icon.svg?rev=1115231)
 * [Related Posts by Taxonomy](https://wordpress.org/plugins/related-posts-by-taxonomy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-by-taxonomy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-by-taxonomy/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-by-taxonomy/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 8 replies
 * 2 participants
 * Last reply from: [Agrajag27](https://wordpress.org/support/users/agrajag27/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/cache-plugin-error-1/#post-6867027)
 * Status: resolved