Quantcast
Channel: WordPress.org Forums » [Blog Filter - Advanced Post Filtering with Categories Or Tags, Post Portfolio Gallery, Blog Design Template, Blog Post Layout] Support
Viewing all articles
Browse latest Browse all 38

Plugin creates a Uncaught TypeError: e.indexOf is not a function.

$
0
0

Replies: 0

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.


Viewing all articles
Browse latest Browse all 38

Trending Articles