Title: Error: Internal Server Error (500)
Last modified: July 23, 2018

---

# Error: Internal Server Error (500)

 *  Resolved [tomiup](https://wordpress.org/support/users/tomiup/)
 * (@tomiup)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-internal-server-error-500-3/)
 * I have encountered “Error: Internal Server Error (500)” error when use:
 * add_action(‘pt-ocdi/enable_wp_customize_save_hooks’, ‘__return_true’);
 * [http://prntscr.com/k9qz6v](http://prntscr.com/k9qz6v)

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

 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-internal-server-error-500-3/#post-10518007)
 * Hi,
 * a 500 server error can be anything. We have a few cases in our docs page, here:
   [https://github.com/proteusthemes/one-click-demo-import/blob/master/docs/import-problems.md](https://github.com/proteusthemes/one-click-demo-import/blob/master/docs/import-problems.md)
 * Please read it and see if one of those cases are true for your server…
 * Why did you paste this line of code: `add_action(‘pt-ocdi/enable_wp_customize_save_hooks’,‘
   __return_true’);`
 * This is a normal WP line, why do you think it broke there?
 * Take care!
 *  Thread Starter [tomiup](https://wordpress.org/support/users/tomiup/)
 * (@tomiup)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-internal-server-error-500-3/#post-10518149)
 * Hi capuderg,
 * This is my hosting information (xampp):
 *     ```
       - PHP Version 7.2.6
       - upload_max_filesize: 256M
       - max_input_time: 300
       - max_execution_time: 300
       - post_max_size: 512M
       ```
   
 * Before add:
    `add_action('pt-ocdi/enable_wp_customize_save_hooks', '__return_true');`–
   import demo working well
 * And after add
    `add_action('pt-ocdi/enable_wp_customize_save_hooks', '__return_true');`–
   Error: Internal Server Error (500)
 * Do you have any solution to help me solve this problem?
    -  This reply was modified 7 years, 10 months ago by [tomiup](https://wordpress.org/support/users/tomiup/).
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-internal-server-error-500-3/#post-10518442)
 * Hi,
 * all known issues are in the docs page above.
 * 500 server error is the most general error there is, so I can’t help you much,
   since I don’t know what the issue is as well.
 * Did you check your server error logs and see, if there are some errors, which
   could point to what is causing these issues?
 * Take care!

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

The topic ‘Error: Internal Server Error (500)’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/error-internal-server-error-500-3/#post-10518442)
 * Status: resolved