Title: Javascript errors when results on same page as search form
Last modified: August 22, 2016

---

# Javascript errors when results on same page as search form

 *  [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * (@uprootednut)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/)
 * Can be seen here – [http://bands.s.strategiesuk.net/search-latest-jobs/](http://bands.s.strategiesuk.net/search-latest-jobs/)
 * Other things I notice are the menu is removed and the deault sidebar is also 
   included even though it shouldn.t be.
 * Any help would be appreciated.
 * Thanks
 * [https://wordpress.org/plugins/advanced-custom-post-search/](https://wordpress.org/plugins/advanced-custom-post-search/)

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

 *  [_Thomas](https://wordpress.org/support/users/_thomas/)
 * (@_thomas)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269276)
 * Hi,
 * The JavaScript errors seem to come from your theme.
    Try to fix it first, because
   I think that’s could be why the menu disappears 😉
 *  Thread Starter [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * (@uprootednut)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269420)
 * OK JavaScript error fixed however it is still forcing the sidebar area to show,
   when it isn’t set to result page it would be a full width page.
 *  Thread Starter [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * (@uprootednut)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269421)
 * OK JavaScript error fixed however it is still forcing the sidebar area to show,
   when it isn’t set to result page it would be a full width page.
 * Also when a search is run it will show another search form below the result area.
 * thanks.
 *  Thread Starter [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * (@uprootednut)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269422)
 * Sorry for duplicate post, was gettin a 500 error.
 *  Thread Starter [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * (@uprootednut)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269424)
 * OK, sorry for the spam, managed to get rid of the sidebar, and the duplicate 
   search form only shows when a result isn’t found. Any one know a solution for
   that?

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

The topic ‘Javascript errors when results on same page as search form’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-custom-post-search_467cc8.
   svg)
 * [Advanced Custom Post Search](https://wordpress.org/plugins/advanced-custom-post-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-post-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-post-search/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-post-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-post-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-post-search/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Uprootednut](https://wordpress.org/support/users/uprootednut/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-results-on-same-page-as-search-form/#post-5269424)
 * Status: not resolved