I migrated my site and one of my page seems to be having issue, the error I am getting is:
jquery.min.js:2 Uncaught TypeError: Cannot read property 'indexOf' of undefined
at k.fn.init.k.fn.load (jquery.min.js:2)
at HTMLImageElement.<anonymous> (wpv-pagination-embedded.js?ver=2.9.1:3384)
at Function.each (jquery.min.js:2)
at k.fn.init.each (jquery.min.js:2)
at HTMLDivElement.<anonymous> (wpv-pagination-embedded.js?ver=2.9.1:3382)
at Function.each (jquery.min.js:2)
at k.fn.init.each (jquery.min.js:2)
at WPViews.ViewPagination.self.init_preload_images (wpv-pagination-embedded.js?ver=2.9.1:3370)
at WPViews.ViewPagination.self.init (wpv-pagination-embedded.js?ver=2.9.1:3432)
at new WPViews.ViewPagination (wpv-pagination-embedded.js?ver=2.9.1:3437)
The view works fine on my orignal site.
The page with issue is : hidden link
Also there is this funny thing happening.
When I switch my website to mobile view and refresh the page again, I can see the content. But if I do the same on desktop it doesn't render at all.
This could quite possibly be caused by a plugin conflict and as such I would recommend that you temporarily disable all your non-toolset plugins and try again.
Also we have released an update to our plugins so you can update and let me know if the issue still remains.
I have updated all the toolset related plugins. I also tried deactivating non-toolset plugins, but couldn't find the reason, causing this.
This sounds very wired that the loop item shows when I change my chrome to a mobile view - reload the page to find everything working fine. Example page : hidden link
And when there is no, data it the loop it correctly says "No items Found". Example page : hidden link
I had the same problem. The code posted here solved the problem, but when I put the css on the content template, because for some reason the css put on the view was not loading. I don't know if it is happening just with me, but I thought it could help others with the same problem.