Plugin creates a Uncaught TypeError: e.indexOf is not a function.
-
Hi there, after embedding the shortcode on a page on my site I get the following error and the list of posts has the loading spinner and no content:
“Uncaught TypeError: e.indexOf is not a function
at ce.fn.load (jquery.min.js?ver=3.7.1:2:82864)
at test-page:35:19″when i look at line 35 it seems to be generated by the plugin
“var first_active_filter = jQuery(“.simplefilter li:first-child”).val();”
The interesting thing is the post list + filter loads fine when I’m previewing the page. Digging into the code the only difference is that your plugin code is loaded in the footer on preview mode and in the header in normal published mode.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.