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
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- Pre-fill fields with content from outside when creating a new post
- Looking for a hook to add attachment information to the media library tab
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Retrieve Path of admin.php
- Display $pagenow error notice on all admin pages
- Custom roles showing HTML entities in title form field
- How can I restrict a user to a specific item in the WordPress Admin? [closed]
- How to show postmeta in custom columns for the posts screen?
- disable a wp javascript on live website, but not on wp-admin page
- wp_nonce_url to users.php for deleting user not working
- How to stop – Database Update Required – from happening again?
- Moving wp-admin to a different to a subdomain
- Can’t login to Dashboard when changing site URL to HTTPS
- Limit access to wp_admin
- Not Found (404) error on admin page, CSS gone on blog
- how to customize wp-admin page using child theme
- WordPress server change – slow admin login time for first time
- I can´t access my admin panel. I tried all possible solutions
- Blank page for wp-admin after i uploaded the website from my localhost to the live server
- Ajax solution similar to WP Categories functioning in Admin area
- Difference between admin and user admin
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Editing edit-tags.php page in wp-admin
- What is the correct way to get only display plugin for Administrator Only
- displaying an error before update_post_meta
- firing function at login within class
- How to break line / add to ADMIN menu
- WordPress admin page not found error
- Outputting something based on the presence of post variable in admin screens
- Use of domain name
- “Add New” button on custom post type grid
- Where is function to prevents non logged users access wp-admin?
- Registering for a domain on WordPress
- CSS of the admin panel
- WordPress admin right sidebar isn’t working
- WordPress menu to change page title
- wp-admin blocking causing http error on uploads
- DISALLOW_FILE_EDIT is false but I still am not able to edit files from the admin interface and the menus do not show up
- What hooks should you use to create a table only once?
- Custom admin menu order fails if slugs are complicated
- Cant access wp-admin
- Function to get a ‘post selector’ UI?
- Hi everyone, I have Problem with using wp_die()
- WordPress wp-admin Page
- How can I trigger a javascript function after a post update on edit post screen in wordpress admin panel?
- restrict admin panel sections to users
- how to set not to be logined in wp-admin except administrator?
- CSRF attack to create USER
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- WordPress Login for multiple sites
- How do I change the WordPress Address URL only and still login to wp-admin
- wordpress wp-admin showing white screen with no error
- Blank sign in page
- Action for opening edit page in admin?
- Couple questions about .htaccess, login page, updates
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?