Answer the question
In order to leave comments, you need to log in
Why is there a 500 error on a Wordpress site?
A very strange reaction to the error occurred. The reason was the following:
$postarr = array(
'post_type' => 'fotootchet',
'post_title' => $row['name'],
'post_status' => 'publish'
'post_content' => $attach_arr_str
);
Answer the question
In order to leave comments, you need to log in
It is likely that error reporting is disabled on the server.
You can, for example, enable WP_DEBUG in config.php , then you will see the reason for the error.
If the code must collect the response to the ajax request, then it will throw a server error. How else to notify?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question