Title: SimpleXML Parse Error
Last modified: April 27, 2017

---

# SimpleXML Parse Error

 *  Resolved [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/simplexml-parse-error/)
 * Hello,
 * I’m getting the following error when trying to display a Google/Picasa album.
   Running PHP 7.0.18. Any idea what the issue might be?
 * Here is the shortcode:
    [gallery type="picasa" user_id='xxxxx' kind='album' album
   ='yyyyyyyyyyyyyy' access='public' protection='none' layout='square' caption='
   desc-title' thumb_size='72' main_size='1600']
 *     ```
       Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /srv/users/devuser/apps/xxxxx/public/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246
   
       Warning: simplexml_load_string(): kind: That is not one of the acceptable values in /srv/users/devuser/apps/xxxxx/public/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246
   
       Warning: simplexml_load_string(): ^ in /srv/users/devuser/apps/xxxxx/public/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246
       ```
   
 * Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/simplexml-parse-error/#post-9075597)
 * If you are specifying `album='yyyyyyyyyyyyyy'` set `kind='photo'`.
 * Also, is this a public album? If not, set `access='public,protected,private'`
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/simplexml-parse-error/#post-9076247)
 * Hi,
 * I did have album set with a valid value, and I had kind=’album’.
 * I now have it working. I created new albums, and then did add `access='public,
   protected,private` and also changed from album= to filter=. It works now.
 * Sort of confusing on when to use album vs filter, but as long as it works, I’m
   good to go.
 * Thanks for the quick response.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/simplexml-parse-error/#post-9076918)
 * This is the rule of thumb:
    1. Use `kind='photo'` if you want to display all photos in an album. In this case
       you will have to specify `album='xxxxx'` to tell Photonic which album to display.
       
       Using `filter='xxxxx'` will not help here (at least it should not – I have not
       tested it). You can see examples of the behaviour [here](https://aquoid.com/plugins/photonic/picasa/picasa-photos/).
    2. Use `kind='album'` to display all of your albums as single thumbnails. In this
       case you **should not** specify `album='xxxxx'` (you will get the XML error),
       but you **can** specify `filter='xxxxx,yyyyy'`, in which case it will only show
       selected albums as single thumbnails. You can see examples of the behaviour 
       [here](https://aquoid.com/plugins/photonic/picasa/picasa-albums/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘SimpleXML Parse Error’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/simplexml-parse-error/#post-9076918)
 * Status: resolved