Title: Duplicated Plugin Filter?
Last modified: August 22, 2016

---

# Duplicated Plugin Filter?

 *  Resolved [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/)
 * Hi,
 * My Home Page have an alert shown **“There is another Plugin Filter with the same
   permalink. Edit Duplicate”**. If I clicked the link “Edit Duplicate” will lead
   me to **“You attempted to edit an item that doesn’t exist. Perhaps it was deleted?”**
 * Home Page setting as following:
 * 1. I had disabled few plugins at Home Page (have pagination) plugin organizer
   setting and unchecked “Affect Children”;
    2. I had created Plugin Filter for 
   home page’s pagination example.com/page/*;
 * My Shop Page (WC) pagination example.com/shop/page/*, does not affected as above
   mentioned problem.
 * Anyone any clues? any hints? for me
 * Thanks
 * [https://wordpress.org/plugins/plugin-organizer/](https://wordpress.org/plugins/plugin-organizer/)

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

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660869)
 * When you click on Edit Duplicate are you taken to the edit page for a separate
   plugin filter with the same permalink? The permalinks you are using will have
   no effect on your site since they contain a wildcard and wildcards are not usable.
 *  Thread Starter [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660888)
 * The edit page link to “You attempted to edit an item that doesn’t exist. Perhaps
   it was deleted?”
 *  Thread Starter [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660890)
 * Oh! sorry type error. I never use the wildcard.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660900)
 * I actually noticed that on one of my sites on Friday. I think it is because you
   placed a plugin filter in the trash and left it there until wordpress automatically
   cleaned out the trash. For some reason it looks like wordpress isn’t calling 
   the delete_post hook when it cleans out the trash automatically so the entry 
   doesn’t get removed from the PO_plugins table. I had an entry marked as trash
   in my table with no post that matched it. I need to do some research to find 
   out why wordpress isn’t calling delete_post when it automatically cleans out 
   the trash and also need to look at a cleanup function to clean out entries that
   no longer have a post tied to them. I can hopefully have a fix for this in a 
   couple days.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660901)
 * I also need to add a condition to the query to not include items that are in 
   the trash.
 *  Thread Starter [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660922)
 * Noted & Thousand Thanks.
 * I wondering is it something like this error:
    `[12-Jan-2015 15:25:31 ] WordPress
   database error Unknown column 'lin_postmeta.meta_value' in 'order clause' for
   query SELECT SQL_CALC_FOUND_ROWS lin_posts.ID FROM lin_posts WHERE 1=1 AND 0 
   GROUP BY lin_posts.ID ORDER BY lin_postmeta.meta_value+0 DESC, lin_posts.post_date
   DESC LIMIT 0, 8 made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts,
   WP_Query->query, WP_Query->get_posts`
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5660928)
 * No. That is an unrelated query. It looks like the cron user for wordpress is 
   ID 0 and doesn’t have the correct permission to call my function that deletes
   the row from the PO_plugins table. I have a function built that goes through 
   the PO_plugins table and checks to see if their are any ID’s that don’t have 
   a valid post attached to them once a week. That should fix the problem. I have
   also adjusted the query that looks for duplicate plugin filters so it doesn’t
   look in the trash. I’m going to do some more testing with it and then probably
   release it tonight.
 *  Thread Starter [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5661038)
 * Ok and noted.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5661054)
 * Version 5.7.5 should fix this problem.
 *  Thread Starter [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5661078)
 * Problem fixed and PO-plugin database cleaned 26.9kb

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

The topic ‘Duplicated Plugin Filter?’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/duplicated-plugin-filter/#post-5661078)
 * Status: resolved