Title: parser error : Start tag expected, &#039;
Last modified: August 30, 2016

---

# parser error : Start tag expected, '

 *  [cosmicsam](https://wordpress.org/support/users/cosmicsam/)
 * (@cosmicsam)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/)
 * Hi there,
    on my site the plugin doesn’t work any more and my sites with videos
   are not showing anymore. Instead there is this message:
 * Warning: SimpleXMLElement::__construct() [simplexmlelement.–construct]: Entity:
   line 1: parser error : Start tag expected, ‘<‘ not found in …/wordpress/wp-content/
   plugins/youtube-simplegallery/youtube_simplegallery.php on line 64
 * Any ideas?
 * [https://wordpress.org/plugins/youtube-simplegallery/](https://wordpress.org/plugins/youtube-simplegallery/)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/parser-error-start-tag-expected/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parser-error-start-tag-expected/page/2/?output_format=md)

 *  [afaban](https://wordpress.org/support/users/afaban/)
 * (@afaban)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197462)
 * I have problem too. How we do fix it?
 *  [Spyder Byte Media](https://wordpress.org/support/users/spyder-byte-media/)
 * (@spyder-byte-media)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197558)
 * I am receiving the same exact errors. Please advise.
 *  [Domagoj1](https://wordpress.org/support/users/domagoj1/)
 * (@domagoj1)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197577)
 * Same here! Need this resolved quickly!
 *  [TechTut](https://wordpress.org/support/users/techtut/)
 * (@techtut)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197615)
 * I had the same problem. Since there are lots of problems with this plugin I changed
   for this: [https://wordpress.org/plugins/wp-youtube-lyte/](https://wordpress.org/plugins/wp-youtube-lyte/)
   
   it took me a moment to migrate but i hope I won’t have any problems with my youtube
   videos showing on my page. Result of migration is here (from dashboard youy can
   change size of players for even smaller): [http://techtutor.pl/kurs-autocad/](http://techtutor.pl/kurs-autocad/)
 *  [mehmethan20](https://wordpress.org/support/users/mehmethan20/)
 * (@mehmethan20)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197664)
 * I have problem too. How we do fix it? Help, Help, Help !!!!
 *  [SumeNet](https://wordpress.org/support/users/sumenet/)
 * (@sumenet)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197676)
 * I have problem too. Please update this plugin.
 *  [tutana](https://wordpress.org/support/users/tutana/)
 * (@tutana)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197692)
 * I got this problem too. HELP!
 *  [Pierre.Toulmonde](https://wordpress.org/support/users/pierretoulmonde/)
 * (@pierretoulmonde)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197705)
 * Same problem since yesterday here too 🙁
 *  [jaruba](https://wordpress.org/support/users/jaruba/)
 * (@jaruba)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197710)
 * Happened to me too yesterday. The reason it doesn’t work anymore is because YouTube
   API v2 has been discontinued and this plugin relied on it. You can see that by
   going to an old API link: [http://gdata.youtube.com/feeds/api/videos/_4RQD2SxDOI](http://gdata.youtube.com/feeds/api/videos/_4RQD2SxDOI)
 * **In order to make it work correctly you’ll need to:**
    - open `/wp_content/plugins/youtube_simplegallery.php`
    - delete the function that starts on **line 58** (yotube_gallery_getYouTubeDataFromID)
    - add this one instead:
 *     ```
       function yotube_gallery_getYouTubeDataFromID($vID) {
       	$videodata = wp_remote_fopen('https://www.googleapis.com/youtube/v3/videos?id='.trim($vID).'&key=AIzaSyA6oW5D-ZlSIG-OHSBOR25TMd3YDRU7HdU&part=snippet,contentDetails,statistics,status');
       	if($videodata=='Video not found') {
       		return 'error';
       	}
       	else {
       		$videodata = json_decode($videodata,true);
       		return $videodata;
       	}
       }
       ```
   
 * **Good luck to you all! 🙂**
 *  Thread Starter [cosmicsam](https://wordpress.org/support/users/cosmicsam/)
 * (@cosmicsam)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197712)
 * thank you, jaruba … it worked for me!
 *  [afaban](https://wordpress.org/support/users/afaban/)
 * (@afaban)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197713)
 * Hi Jaruba,
    Thank you for your support. I have a problem still,
 * Warning: Division by zero in /wp-content/plugins/youtube-simplegallery/inc/shortcode.
   php on line 238
 * how we do fix that?
    —————————— I fixed it. I changed column settings at Thumbnails
   section, than plugin worked.
 * Thank you again 🙂
 *  [morfiszon](https://wordpress.org/support/users/morfiszon/)
 * (@morfiszon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197719)
 * THX jaruba It’s work. 🙂
 *  [vveronica87](https://wordpress.org/support/users/vveronica87/)
 * (@vveronica87)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197720)
 * I also had this problem. Thanks jaruba!!! 🙂
 *  [jacquesfresco](https://wordpress.org/support/users/jacquesfresco/)
 * (@jacquesfresco)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197729)
 * Jaruba, you are a legend.
 * Back up and running:
    [http://www.hangthebankers.com/videos](http://www.hangthebankers.com/videos)
   [http://www.hangthebankers.com/documentaries](http://www.hangthebankers.com/documentaries)
 * Thanks mate. 🙂
 *  [davidgff](https://wordpress.org/support/users/davidgff/)
 * (@davidgff)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/#post-6197730)
 * Same here… it didn’t work, but jaruba’s fix made it all good again. Big Thanks
   jaruba.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/parser-error-start-tag-expected/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parser-error-start-tag-expected/page/2/?output_format=md)

The topic ‘parser error : Start tag expected, '’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-simplegallery_adaeb7.svg)
 * [YouTube SimpleGallery](https://wordpress.org/plugins/youtube-simplegallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-simplegallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-simplegallery/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-simplegallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-simplegallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-simplegallery/reviews/)

 * 23 replies
 * 18 participants
 * Last reply from: [uraster](https://wordpress.org/support/users/uraster/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/parser-error-start-tag-expected/page/2/#post-6197771)
 * Status: not resolved