Hi enerbrat,
It appears that your theme or another plugin is initialising the Facebook SDK. Thankfully it isn’t conflicting with my plugin as it works on your old site. However on your new site the SDK is throwing the following error: Uncaught Error: invalid version specified. On your old site the URL for the SDK is https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=191521884244670 but on the new site it is adding extra encoding characters (which get filtered out if I post them here). The extra encoded characters may be causing this error so try and fix that and see if that makes a difference.
Alternatively, you can dequeue the SDK that is causing this error if you’re not using it else-wear on the site.
function dequeue_facebook_sdk() {
wp_dequeue_script( 'facebook-jssdk' );
}
add_action( 'wp_print_scripts', 'dequeue_facebook_sdk', 99999 );
Thanks,
Cameron
i am still getting the error.
I even went as far as just removing the other script calling the SDK but it did nothing. And I was trying to dequeue it immediately after it was called as well.
Dont even know where to start by removing encoding sitewide..
Hi enerbrat,
Is your new site on a different server? Whatever is causing the encoding is probably in the server configuration.
That said, it looks as though it’s working properly at present
Thanks,
Cameron