Welcome!
As Tom mentions in his comment, a 500 error is just a generic error code for a php error. In most server environments, you can go to your wp-config.php file and make sure define( 'WP_DEBUG', true ); is set. This will try to print the actual PHP error to the screen.
After that, fix the PHP error(s) you see and you should be golden!
If all your code is the same, and it is working on your dev environment but not your production server, I’d suggest checking PHP versions. PHP 5.x and PHP 7.x have a lot of differences. Many things that were warnings in the older version are now fatal errors in the newer version, and some features changed which could cause functions and variables to no longer work and throw fatal errors.
If you have trouble fixing your PHP error after you get a print-out of it, just make a question about it and we’ll help you out with that too.
Related Posts:
- Multisite: Can’t Post or Create Categories
- How to Display Network Post Count?
- How to cache a shortcode functions output?
- Querying post from a multisite network
- How to get a post content from another wordpress blog/site?
- how to enable different number of revisions for different blogs when using WPMU?
- Strange switch_to_blog() issue
- How to hook a function only when I need to delete permanently a post?
- How to share same post to multiple site in wordpress?
- How to create post in WP network using WP-CLI
- Pull posts from another wordpress install on same server
- Post preview and oembed provider issue using polylang plugin with subdomains
- Query posts from different categories in multisite
- Multisite – Get current post id
- How to show last post of each website of a MU wordpress in HomePage
- How to display content from the main blog on another from multisite network as it would be its own
- Unable to restore from backup – how to obtain old blog posts?
- Redirect to localhost after installing Multisite on server
- Pagination with an array of post objects?
- WordPress Multisite – Create Default Post and New Category On New Site Install
- Set static page/post from another blog on same network
- How to WP_Query() from multiple blogs and order them?
- Is it possible to filter the main loop to exclude posts from a specific category?
- Subdomain to website directory blog transferring
- How do I show posts from another wordpress installation?
- Display password protected posts to logged in users
- Change Author Name to Sitename on Frontend
- Cannot select certain authors for posts after import
- why the posts queried from sql is more than those showed on the page?
- Getting post and attached image from subdomain
- Prevent duplicate pages from being added
- unable to write to the database while uploading images
- Displaying all posts from other sites on the network on one site
- How to Best Create Separate Subscribers and User Experience
- Multisite how to display merged posts from two sites and sort by latest date?
- How to increase the number posts that displays by a hierarchical taxonomy? (HTTP ERROR 500)
- call to jquery ajax failing with 500 error when passing extra data field
- Populate a drop down list with post titles across a multisite network
- How can I have the posts from one word press blog show on the presentation page of another word press site
- Relative Image Urls in Posts are starting from root – Not from WordPress Address (URL) at General Settings
- How to get posts from network blog
- Sorting Posts by Date – get_blogs_of_user_id()
- Users cannot post when editor or admin on more than 1 site on multisite
- How to link two news page multilingual press
- Get image paths from RSS feeds
- Redirect posts to sub domain except pages
- making a few sites in wordpress
- Do I need to create a multisite for querying posts from multiple WordPress sites?
- Site ‘Categories’: save an admin global setting with post metadata [closed]
- users followin the blog post author
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Passing current cookies in wp_remote_get to get Draft Post Preview
- Is there a way I can write a series in WordPress?
- Get content from one page and show it on another page
- wordpress media_handle_upload to work with blob or base64
- WP_Query offset argument does not work
- what types of order can I pass to get_posts() via orderby?
- Different number of posts in each category
- Override the default number of posts to show for a single loop?
- Delete duplicated wp_postmeta record
- Different permalink for posts and authors
- Trying to get property of non-object when using $post->post_parent
- Post Format Archive template name for theme folder?
- get_the_term_list by hierarchy order
- How to change the layout and styling of posts according to their category in WordPress?
- VT-resize image and display it [duplicate]
- Better post meta efficiency?
- How to use oEmbeds on Post Content during AJAX requests
- Why does the_date work in the first custom column, but not in the second, in a series of customized Posts columns?
- How to disable edit post option after period of time?
- display sub categories assoccited with each post in a category archive page
- Sort wp post title with alphabetically and numerically?
- Include related posts on a page
- White screen of death on post save only
- How to get new post URL?
- Can’t publish, edit or delete posts since Gutenberg update
- Different amount of posts on homepage than paged pages
- Possible to create a multisite network where the main site is non-WP?
- The correct way to call posts with ajax
- How do I batch create revisions of all posts?
- ‘transition_post_status’ only fires when pressing “Add New”
- How can i do something after head like adding a hook for after head but before post
- How to get the post’s parent ID?
- How to get only text from wordpress post content?
- I want to show category in the post title , how can I do
- Best way of deletion of old posts [closed]
- Split WP_POST table based on post types
- I want to get title name of post, but i didn’t get by this code. Any suggestion?
- How to inject a class for all option elements from wp_get_archives()?
- How to modify post content?
- Allow public to post on blog
- Facebook doesn’t display the related thumbail for some posts
- How to re-post an old post?
- Start with multi-site feature now or later?
- Multiple loops are not reset
- Suddenly my last posts disappeared
- Polylang post_translations key [closed]
- Emojis replaced by ‘?’ automatically
- Creating a post from data returned from HTML form