Title: HTTP 500 ERROR
Last modified: December 20, 2016

---

# HTTP 500 ERROR

 *  Resolved [hendrikv](https://wordpress.org/support/users/hendrikv/)
 * (@hendrikv)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/http-500-error-26/)
 * Hello,
 * I followed all steps. So far so good. But ones that I put the following php code
   in the **single.php** file of my [Twenty Fourteen Theme](https://srd.wordpress.org/themes/twentyfourteen/)
   I get a HTTP 500 ERROR when I view my posts. What am I doing wrong?
 * <——- php code I inserted ——->
    <?php $galleryArray = get_post_gallery_ids($post-
   >ID); ?> <?php foreach ($galleryArray as $id) { ?>
 *  “>
 * <?php } ?>
    <——- end php code I inserted ——->
 * Thanx!
    -  This topic was modified 9 years, 9 months ago by [hendrikv](https://wordpress.org/support/users/hendrikv/).

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

 *  Plugin Author [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/http-500-error-26/#post-8628968)
 * Well the `">` might be an issue. Does the $post object exist?
 *  Thread Starter [hendrikv](https://wordpress.org/support/users/hendrikv/)
 * (@hendrikv)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/http-500-error-26/#post-8647497)
 * Thanks for your reply. As I’m not a PHP developer I will pass this to someone
   who knows PHP. Or do you offer a paid service by any chance for implementing 
   the plugin ?
 * Thanx and have a nice day!
 * Hendrik
 * Ps : I wonder also if there is an online example of a page or website where we
   can see a live ‘featured gallery’ made possible by the plugin. Just curious how
   it looks like when it has been implemented. 😉
    -  This reply was modified 9 years, 8 months ago by [hendrikv](https://wordpress.org/support/users/hendrikv/).
    -  This reply was modified 9 years, 8 months ago by [hendrikv](https://wordpress.org/support/users/hendrikv/).
 *  Plugin Author [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/http-500-error-26/#post-8648353)
 * I do offer that, yes. If you’d be interested, shoot me an email to [andymercer@outlook.com](https://wordpress.org/support/topic/http-500-error-26/andymercer@outlook.com?output_format=md)
   and we can discuss it.
 * You can see examples at:
 * [http://www.andymercer.net](http://www.andymercer.net)
    [http://www.indygreekfest.org](http://www.indygreekfest.org)
   [http://www.rmasurveying.com](http://www.rmasurveying.com) [http://www.cwstudio.io](http://www.cwstudio.io),(
   Soon, the site is not done yet)
    -  This reply was modified 9 years, 8 months ago by [Andy Mercer](https://wordpress.org/support/users/kelderic/).
 *  Plugin Author [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/http-500-error-26/#post-8653509)
 * Since you mentioned paying someone to do this, I’m going to mark the thread as
   resolved.

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

 The topic ‘HTTP 500 ERROR’ is closed to new replies.

 * ![](https://ps.w.org/featured-galleries/assets/icon-256x256.png?rev=1073825)
 * [Featured Galleries](https://wordpress.org/plugins/featured-galleries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-galleries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-galleries/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-galleries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-galleries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-galleries/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/http-500-error-26/#post-8653509)
 * Status: resolved