Cannot call method 'wsl_wordpress_social_login'
- by David Allen
Hi I'm using a wordpress plugin to allow user to comment using facebook and twitter accounts.
This is the page i am testing the plugin on http://blog.pcpal.co.uk/2012/03/london-underground-wi-fi-connectivity-due-within-months/
When i click the facebook icon its opens up a windows where i sign into facebook ad then directs to a blank pages which has a JS error see code below
<html><head>
<script>
function init() {
window.opener.wsl_wordpress_social_login({
'action' : 'wordpress_social_login',
'provider' : 'Facebook'
});
window.close();
}
</script>
</head>
<body onload="init();">
</body></html>
# Error is Uncaught TypeError: Cannot call method 'wsl_wordpress_social_login' of null
If you can help then great..
Additional info
Only seems to do it with chrome