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
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
(@tomiup)
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.
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!