Title: error 500 when javascript is disabled
Last modified: August 31, 2016

---

# error 500 when javascript is disabled

 *  [Seeyouaround](https://wordpress.org/support/users/seeyouaround/)
 * (@seeyouaround)
 * [10 years ago](https://wordpress.org/support/topic/error-500-when-javascript-is-disabled/)
 * Hi dev,
 * When javascript is disabled ( /?PageSpeed=noscript at the end of url) , i found
   an issue when i put this code on my single.php :
    `<?php wp_related_posts(); ?
   >`
 * It gets error 500.
 * With or Without javascript disabled it works only in this case: when the option
   `
   Auto Insert Related Posts (or add <?php wp_related_posts()?> to your single post
   template)` is activated.
 * How to fix it for javascript disabled? here is my website [http://www.seeyar.fr](http://www.seeyar.fr)
 * thank you
 * [https://wordpress.org/plugins/wordpress-23-related-posts-plugin/](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)

Viewing 1 replies (of 1 total)

 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [10 years ago](https://wordpress.org/support/topic/error-500-when-javascript-is-disabled/#post-7308954)
 * Hey,
 * thanks for reaching out!
 * Would it be possible to copy/paste the content of the single.php file here, so
   that I can take a closer look to where exactly you are inserting the <? php wp_related_posts();?
   > code?
 * Looking forward to your reply,
    Petra

Viewing 1 replies (of 1 total)

The topic ‘error 500 when javascript is disabled’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-23-related-posts-plugin_7b9a7c.
   svg)
 * [WordPress Related Posts](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [PetraP](https://wordpress.org/support/users/petrap/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/error-500-when-javascript-is-disabled/#post-7308954)
 * Status: not resolved