I had to change the plugin file to make it work. I think it can help someone and even the plugin’s author should consider making these changes.
on class-admin.php, create this function at the beggining (can be line 9):
function loadXmlByCurl($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$xml = curl_exec($ch);
curl_close($ch);
$xml = new SimpleXMLElement($xml);
return $xml;
}
Now replace this line
$dom_object->load("http://www.facebook.com/translations/FacebookLocales.xml");
by
$xml = loadXmlByCurl("http://www.facebook.com/translations/FacebookLocales.xml");
$dom_object = dom_import_simplexml($xml)->ownerDocument;
and you are ready to go.
Related Posts:
- Facebook comments box on front page
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Facebook plugin shows existing comments
- Integrate Facebook comments with native comments
- Best collection of code for your 'functions.php' file [closed]
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to export comments in WordPress?
- How can I make an Ajax login form work with FORCE_SSL_ADMIN enabled?
- Disable saving comment details (name, e-mail) in cookie?
- Admin plugin, how can I output a different content-type?
- Plugin or mod for wordpress to make content publication SUPER easy
- How can I log a user out of WordPress before the page loads?
- Disabling Comment Notifications for Post Author
- Passing .pem and .key files in cURL doesn’t work in WordPress
- How to enable Admins to see Plugins
- Bad Request (Invalid Hostname) on working server, database problem
- Notify commenters about new replies
- How to develop a community feature in the dashboard for multiauthor site
- Don’t send notification if author comments his own post plugin help?
- How to add a privacy-checkbox in comment-template?
- Plugin: How should I handle deleting comments?
- Akismet plugin is deleting spam despite preferences
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- Shortcode in AJAX popup
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Admin Dashboard with Custom Tab for Client
- Change wording of admin menu item?
- Display comments of users on single page
- wordpress reusable content blocks
- Cannot access wp-admin after disabling all plugin
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- How to send little data between admin pages of my plugin?
- WordPress Social Login > Post to a users Facebook wall
- Facebook Like needs confirmation?
- What would be the advantages/disadvantages of remote plugin installation?
- Editing admin pages in WordPress [closed]
- Layout Plugin Admin Pages: Use BootStrap? [closed]
- Add a custom form on the post-new.php admin page
- Is there a way to share your Facebook Page’s stream on a WordPress page or post?
- Is this the right way to execute some PHP in my plugin after a button click on an options page?
- How can I force users to a particular subdomain to log in for MU (Multisite)?
- Display update notification messages like ‘What’s New’
- Admin accounts unable to see plugins from external IP
- Send reply with pre-prepared answers
- WordPress wp-admin/network/plugin-install
- how to access all user dashboard on fronted page [closed]
- How to set add question capability for author role in wp pro quiz plugin
- Disqus deleted comments are syncing with wordpress but active comments do not
- do_action() hook into load-(page)
- Notify comment author upon reply
- allow photo/video in comments
- How to add FB like + share AND also other Social Buttons on ALL pages and posts?
- Is there a social members only login plugin for WordPress? [closed]
- What’s causing this error? “Warning: Invalid argument”
- Is there a specific term for Plugins that are specified in a WordPress Post using Comments?
- Socialite WP plugin, unable to obtain API keys from FB
- Simply poll & Events Calendar plugins clashing
- get_comments_number() giving wrong results! What are alternatives?
- Moving FB comments at the end of page
- Remove value from array within post meta ajax admin
- Individual Comment Notification Setting For Post Author
- How to add an admin alert for missing plugins
- Change the Simple Facebook Connect popup position
- Gathering all Custom Post Type posts in to array/object the proper way
- Adding a jQuery modal dialog to the admin area
- Redirect plugin after form submit or show errors
- How to create a plugin page that shows XML?
- How to stop Facebook mobile in-app browser cache on WordPress
- How to create admin setting for this small plugin
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- Enable comments pagination only amp page
- Hide all Admin Notices and move on a separate page
- Installation failed: 504 – Gateway Timeout
- How to remove WordPress Default Comment? not Facebook
- How To Remove “All, Publish, Draft and Expired” in Events Dashboard
- Hide response returned from WordPress REST API call
- Facebook sharing image error with facebook debug
- Disqus comment system not show
- How to fix slow comment query?
- AddThis Plugin adding html comments in P tags
- Facebook Quote Plugin for Blockquote?
- How to enable Admins to see Plugins
- Creating a comments voting system
- Jetpack Comments Change Placeholder Text
- admin panel save option with ajax
- Facebook meta tags not working properly on WordPress Site
- Remove ‘Publish to Facebook’ checkbox for Facebook page publish plugin
- Facebook Like Button with NextGen Gallery
- wp_update_post call really slow when official Facebook plugin is installed
- How to fix vanilla comments extra iframe space
- What would cause edit buttons for plugins to disappear?
- Display Facebook photo albums and photo comments?
- How to create plugin list groups?
- Reply form used in wordpress.com
- What is the recommended way to be notified of security updates to my plugins? [closed]
- Why plugin’s icon for the menu not found?
- Questions about using Disqus or Jetpack for comments [closed]
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Allow direct access to files/folders within WordPress to replace wp-admin
- Transfer wordpress comments form on another post [closed]