How to debug "undefined" 404 error in console on front page I'm getting a strange 404 error on the front page only, which seems to be causing some other issues for me. I'm hopeful if I solve this it will take care of those, too.

On the front page only, when I load the console, I see the following error:



I am not sure what would be causing this as the page appears to load correctly and it isn't giving much of a clue as to what it is trying to load.

How do I debug from this point?
Thanks for the tips Clive and Beebee!

By trial and error I disabled or removed various components until I found one that made the error go away. In this case it seems to be a problem with Flexslider and Views that was used in a Views block -- I haven't solved it yet but have isolated it at least!

UPDATE: It seems to be a bug related to the navigation in the Flexslider module (Views integration). If I set the Flexslider style not to include navigation, it is fine.