This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Error on code appearing in page header

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Error on code appearing in page header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33793
    lukes_aimgroup34lukes_aimgroup34
    Participant

    Receiving attached error randomly on pages. If we disable the plugin it does not happen. Also seems to happen less when logged in.

    #33802
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    That seems to be a malformed HTML output, but unfortunately that code is not printed nor related to this plugin. It looks like the default search form is printed to the document body tag.
    Try checking the theme search.php or the searchform.php files for unclused HTML tags or incorrectly printed get_search_form() function.

    #33806
    lukes_aimgroup34lukes_aimgroup34
    Participant

    Thanks for your reply. It looks like setting “Replace the default theme search with:” to “none” has fixed it.

    #33809
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you for letting us know!

    The theme may had a hidden search or a search trigger on that location and the automatic replacement may forced it to display somehow, that could explain the issue for sure.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.