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
- Custom Post Types, slug, archive and SEO plugins
- get all posts ID from a category
- Action hook ‘wp’ firing twice… why?
- Manipulate post category after time
- How to enqueue scripts depending on post formats?
- How to add a custom field after wp post
- Submitting POST data to a custom page template triggers a 404, why?
- How to prevent WordPress from updating the modified time?
- Dynamic carousel on individual posts
- Portfolio + Blog: multisite or plugin?
- Prepend or add an Image to the content of a Post
- Remove all links in post content
- I get this error message when I try to add a module to a course on my website using Sensei plugin
- Get all comments of author’s posts
- Get posts and include taxonomy term
- Adding bootstrap classes to video shortcodes
- Two Custom Post Types with Identical Articles Competing for the same Slug
- Single Post in Tab/Slider
- posts_per_page returning only one post
- I can’t find the relevant part of the loop in my theme file. How do I find the full content with “More…”
- How to change the order of elements within a post?
- Right align a youtube video
- Post meta not working
- Css and function issue on author archive page
- How do I fix broken links to images in imported posts’ post_content?
- Blog open in new Tab
- Get post attachment with post id
- How to show random post order in specific category each refresh this category page
- Get Category in save_post Hook
- Refresh wordpress post without reloading browser
- Override default post type ‘post’
- ‘posts’ table should not store the absolute image path
- How to make a page show posts only from specific categories without editing php files
- Assign a day of the week to post, e.g: Assign Monday to post and have it only appear when the day is Monday
- Redirecting user to a page when there is no content?
- Is it possible to query a category with specified posts?
- Add caption to thumbnails in content
- WordPress URL question
- How to retrieve a post by inputing the url in a custom field and displaying it on an options page
- Theme does not respect spaces between paragraphs in pages
- exclude one child by id from $post->post_parent
- Continuous listing from a custom field
- Text editor has problem with having ” in a post
- Getting posts from multiple users?
- WordPress Post Grid
- Choose options via url
- Stripping tag from elements in post
- find view post hyperlink in PHP wordpress admin file
- Even/Odd every two posts
- What function does the loop of displaying posts?