Title: Undefined Variable $filter_set_id
Last modified: October 5, 2023

---

# Undefined Variable $filter_set_id

 *  Resolved [bkenneylrc](https://wordpress.org/support/users/bkenneylrc/)
 * (@bkenneylrc)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-filter_set_id/)
 * I’m working on migrating a site to localhost and I’m getting an error that the
   variable $filter_set_id is undefined in the archive file of a custom post type.
   If I set it to 1 manually, the errors are fixed.
 * Where is this variable supposed to be defined, and is it possible there is a 
   required include that isn’t getting pulled in, possibly due to the urls shifts,
   etc?

Viewing 1 replies (of 1 total)

 *  Plugin Support [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * (@fesupportteam)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-filter_set_id/#post-17105460)
 * Hi [@bkenneylrc](https://wordpress.org/support/users/bkenneylrc/)
 * Thank you for your interest in the Filter Everything plugin.
 * There are a lot of issues appearing after migration, with plugins, products, 
   settings, and so on. We cannot provide here any solutions, how where, and why
   some issues can appear because there can be many issues.
 * Usually, we recommend one thing. Create a filter set on the site separately, 
   do the site migration then install the FE plugin and create filter sets to prevent
   any unneeded issues, because it is unbelievably hard to debug it all after, and
   in most cases, there are unique issues.
 * Best Regards – Victor

Viewing 1 replies (of 1 total)

The topic ‘Undefined Variable $filter_set_id’ is closed to new replies.

 * ![](https://ps.w.org/filter-everything/assets/icon-256x256.png?rev=3487105)
 * [Filter Everything — WordPress & WooCommerce Filters](https://wordpress.org/plugins/filter-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filter-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filter-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/filter-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filter-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filter-everything/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-filter_set_id/#post-17105460)
 * Status: resolved