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

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33793
    lukes_aimgroup34
    lukes_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.

    Attachments:
    You must be logged in to view attached files.
    #33802
    Ernest Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #33806
    lukes_aimgroup34
    lukes_aimgroup34
    Participant

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

    #33809
    Ernest Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.