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
In the coming month I will add a WP-CLI command to this cache plugin and make it more reliable.
http://wp-cli.org/
Thanks for letting me know
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
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.
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
I have some time tomorrow and look into it
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.
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”.
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.ww.wp.xz.cn/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.
(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.