500 error on the revisions page
-
Hello
After upgrading WordPress into the 5.3 version the revisions stopped working. Server is showing “Internal Server Error” (and there’s no way to show/log error message, all failed: wp_debug, display_errors, log_errors + error_log). I’ve tried to look out for the source of the error and I’ve pinned the problem to single line:
wp_localize_script( ‘revisions’, ‘_wpRevisionsSettings’, wp_prepare_revisions_for_js( $post, $revision_id, $from ) );The part with wp_prepare_revisions_for_js is fine (I can var_dump it and I can see that there is a table with two columns), so the only thing that can be wrong is the function wp_localize_script.
Is there a way to tell why is it failing?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘500 error on the revisions page’ is closed to new replies.