Title: Error in plugin performance and workaround
Last modified: September 1, 2016

---

# Error in plugin performance and workaround

 *  [AMIB](https://wordpress.org/support/users/amib/)
 * (@amib)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-in-plugin-performance-and-workaround/)
 * The plugin was not functioning in my custom theme.
    The form was being submitted
   but the same page with the same url and same data was shown.
 * Workaround:
    The plugin was using “get_header” action before startup that was
   not called in my theme. Adding: do_action( ‘get_header’, null ); at the top of
   theme solved the problem.
 * It would be better if a native WP action be the entry point for plugin
 * [https://wordpress.org/plugins/search-filter/](https://wordpress.org/plugins/search-filter/)

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

 *  Plugin Author [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * (@designsandcode)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-performance-and-workaround/#post-7562492)
 * Thanks for this, I agree a different hook would be better, although its pretty
   rare not to have a `get_header`
 * I’ll look at an update for this, thanks.
 *  Plugin Author [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * (@designsandcode)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-performance-and-workaround/#post-7562493)
 * Thanks for this, I agree a different hook would be better, although its pretty
   rare not to have a `get_header`
 * I’ll look at an update for this, thanks.

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

The topic ‘Error in plugin performance and workaround’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-performance-and-workaround/#post-7562493)
 * Status: not resolved