• Resolved gfardoux

    (@gfardoux)


    Hi

    Sorry for my english, i’m french.. so i’ll try to explain my bug.

    I made my own template, based on 0 parent template. When i want to include the filter as widget on my taxonomy page, i got a bug :

    VM34672:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0

    i got them when i click a checkbox filter.

    i tried to display on simple page the shortcode.. and same result. I got wp_head() and wp_footer in my template, and i load jquery normaly.

    Can you help me please ? Because i really need this amazing plugin.. thanks for it !

    This is the link of the custom website : http://www.gfardoux.ovh/type-offre/mobile/

    https://wordpress.org/plugins/filter-custom-fields-taxonomies-light/

Viewing 1 replies (of 1 total)
  • Plugin Author websupporter

    (@websupporter)

    Hi gfardoux,
    it looks like you found another filter solution already?

    Regarding the JS Error. The ajax output needs to be in a proper JSON format. It can happen that due to other plugins or the theme the output is not in a proper JSON because they output characters before my plugin outputs the JSON string and exits WordPress.

    So a solution would be to check, which plugin might be involved in this by disabeling the plugins one after the other.

Viewing 1 replies (of 1 total)
  • The topic ‘JS error when filter is checked’ is closed to new replies.