Cannot call method 'wsl_wordpress_social_login'
Posted
by
David Allen
on Stack Overflow
See other posts from Stack Overflow
or by David Allen
Published on 2012-03-16T13:54:52Z
Indexed on
2012/04/13
11:29 UTC
Read the original article
Hit count: 285
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
© Stack Overflow or respective owner