Tagged: enfold, facebook, js error, not showing
Hi, the Facebook widget is not showing. I deactivated all the plug ins, and the same, not appearing. In the Chrome Developer tools shows an error that may be related:
sdk.js:98
Uncaught Error: invalid version specifiedassertValidVersion @ sdk.js:98
v @ sdk.js:126
(anonymous function) @ sdk.js:126
ba @ sdk.js:32
(anonymous function) @ sdk.js:126
widget-49c2ff1f.js:5
I’m using Enfold v3.6.1
I have another website using Enfold v3.5.4 with the same Facebook widget and is working fine, I was going to update it, but I will wait untill is resolved.
Thanks for any help.
UPDATE: Now is working in Chrome, but not in Firefox (Error: invalid version specified sdk.js) or MS Edge [Edge reports error in sdk.js line (98, 307)]
Hello…
Any help? Anything?
I haven’t heard from support, so I’m using this plug in while they find a solution:
https://wordpress.org/plugins/cardoza-facebook-like-box/
in case that anyone else have this same issue.
Hi,
Thank you for using Enfold.
Please modify the framework > php > class-framework-widgets.php file, look for this code around line 97:
js.src = "//connect.facebook.net/'. $langcode .'/sdk.js#xfbml=1&version=v2.4";
.. replace it with:
js.src = "//connect.facebook.net/'. $langcode .'/sdk.js#xfbml=1&version=v2.7";
Best regards,
Ismael