Hire us for all your ICT Issues (Facebook ads,Web Development,CCTV,Programming and Many More)

Error parsing XML, line 641, column 64: The reference to entity "version" must end with the ';' delimiter.

This is for web development,this error always occur when trying to add the facebook like box
Error parsing XML, line 884, column 64
 
Here is the solution to the error,
This always happen because  something is interpreting your document as XML rather than HTML. XML is much stricter than HTML - one of the rules is that ampersands (&) have a special meaning. They mean "here comes an XML entity", which is a special character. For instance, you can type " to insert ", or > to insert > into your document.
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Just copy this code and replace it with the above code in red,then the error will disappear
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.0";
 
 Share on facebook to help other web developer
Thanks 
SHARE

Aone Abu Ukaasha

Hi. I’m Designer of F@stest Vpn. I’m CEO/Founder of Technocrat. I’m a Programmer, Web Designer,Engineer,System Analyst,Crypt Networking Admin,Web Developer, Business Enthusiast,Networking Marketer,Apps Developer." No answer has ever been made without a querry"

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment