Internal Server errors are usually thrown when there’s an error somewhere in the code. You did the right thing searching the logs, but depending on your hosting configuration not all errors can be written there.
I like using WordPress’s own logging facility. Here’s what you need to do:
Stick the following lines in your wp-config.php file
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
Next time you get an Internal Server error, check your wp-content folder. You should have a file called debug.log that lists all the errors and warnings that your server has thrown. The last line usually tells you what the problem was (unless someone else has hit your site in the meantime)
Related Posts:
- Unable to access my page or WP Admin
- How to show an error message after publishing a post?
- Set “Display name publicly as” to be usernames by default
- Unwanted redirect in admin area
- Too many datadabse connections – upper ceiling mysql
- How to get the password and username of the add new user form (admin back end) in wordpress
- Can’t access wp-admin Internal Server Error 500
- Activating Child Theme Breaks Website, Blank Page, Error 500
- WP Database Error (Windows Server 2008 & SQL Server)
- How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library
- How to create a WP Admin user in phpMyAdmin for WordPress 4.6
- /wp-admin/ 500 error
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- wp-admin 302 redirects
- class-wp-hook.php on line 288
- Cannot log in to the admin, no error message [closed]
- wp-login not found – All usual solutions not working
- Is WordPress secure enough for a multi-user article directory?
- Uncaught SyntaxError: Unexpected Token Illegal
- Pages section (only) not loading after publishing large number of pages
- define two login page url
- How do I fix wp-admin error when exporting reusable blocks?
- How to add a field on the user creation page?
- WordPress critical error on wp-admin page with 100% permissions
- mixed contents admin panel is Unsecured
- Link with password is not sent to the new user
- How do I fix the 403 error for wp-admin/admin-ajax.php?
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Failed to load resource: the server responded with a status of 431 ()
- Unable to Add User after Site Migration
- WordPress logged in but no access to wp-admin
- Can’t log into WordPress after domain change
- Why would running an admin check throw a 500 error? I’m calling is_super_admin();
- Impossible User Registration
- Non Object Notice Error – How to fix please
- WordPress blog fails to open
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- Only Admin receives email
- Error 403 on wp-admin – Redirection to upgrade.php
- white screen when trying to access wp-admin. Can
- Organizing Code in your WordPress Theme's functions.php File?
- How to check if a user is in a specific role?
- Can I rename the wp-admin folder?
- How do I Enqueue styles/scripts on Certain /wp-admin Pages?
- Changing Admin Menu Labels
- Adding custom columns to custom post types
- Adding Fields to the Category, Tag and Custom Taxonomy Edit Screen in the WordPress Admin?
- adding custom stylesheet to wp-admin
- Can’t change language (only “English (United States)”)
- Is there ANY way to remove comments function and section totally?
- How to use “menu_order” field for posts?
- “Too many redirects” ONLY when trying to access wp-admin page
- How to restrict dashboard access to Admins only?
- Admin Page Redirect
- Disable dragging of meta boxes?
- Toggle admin metabox based upon chosen page template
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- When moving a WP site, why does wp-admin redirect to old site?
- How to disable the “Post Lock/Edit Lock”?
- adding the category to the admin column for a custom post type?
- How can we make managing lots of pages in WordPress Admin better?
- Adding fields to the “Add New User” screen in the dashboard
- Change page title in admin area
- do_shortcode() within Admin Page
- How can I control the position in the admin menu of items added by plugins?
- Changing the ‘wp-admin’ URL to whatever I want
- Unit testing in the WordPress backend (is_admin() is true)
- Admin ajax request return 0 with die()
- How to prevent access to wp-admin for certain user roles?
- How to remove screen options and help links in the admin area?
- How to remove the core embed blocks in WordPress 5.6?
- How to increase the file size limit for media uploads?
- Create WP tutorial for users with admin pointer using next button for navigation
- I’m getting a 404 message when I try to access wpadmin
- Taxonomy dropdown metabox in the back-end
- wordpress wp-admin css not loading
- Sort admin menu items
- How to order by post meta name in wp admin?
- How set defaults on wpLink()
- Remove dashboard, use Pages tab as default
- How to eliminate weird 404 errors in wp-admin?
- How to redirect/rewrite all /wp-login requests
- Show all post tags on post edit screen/sidebox
- How to hook in and modify the new revisions UI (3.6+)?
- How to display a static HTML page while setting up a WordPress site?
- Limit widget to certain sidebar?
- How can I uninstall a language?
- Check if user is admin by user ID
- My wordpress site gets redirected automatically to the old site any known solution for this?
- Best way to present options for home page in admin?
- Use a different domain for SSL
- Remove specific items from Quick Edit menu of a Custom Post Type?
- How to filter by post-format in admin?
- Unable to login to my wordpress site. reauth=1 redirection loop
- Add “external” link to admin menu in the backend
- How to Layer 7 Load Balance WordPress Backend and Frontend?
- Disable image attachment links
- How can I improve the line break handling in the WYSIWYG editor?
- wp_list_tables bulk actions
- Custom column for changing post status via ajax