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
- How to use “menu_order” field for posts?
- Remove ‘Custom..’ option in tinyMCE colour swatch
- How to add custom submenu links in wp-admin menus?
- How to create sub menu with a URL parameter?
- How to remove items from +New admin menu?
- Add a button to users.php
- Make sub menu items a main link in the admin menu using fuctions.php
- Can initial focus be set to search field in WordPress Media Library?
- When attempting to update a self-hosted WordPress site, I’m seeing “ASN1 unknown message digest algorithm”
- Color picker for posts and pages
- WordPress admin not changing language
- js Conflict in admin panel – I guess it’s from the core WP installation
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- How to hide wordpress default description box?
- Create a fullwidth dashboard widget
- Share Tags Between Custom Posts in Admin
- Website looks fine, but login to wp-admin yields a blank screen
- In editor-style.css how can I change background color of title field?
- wrapping ‘rest_api_init’ in ‘is_admin()’ function
- display dynamic WP Site logo on wp-admin using CSS
- WordPress notification reports
- can not access wp-admin after migrating to openshift
- wp-admin url doesn’t allow to login and redirects to same page
- 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
- How to break line / add to ADMIN menu
- 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?
- 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
- 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?
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- Random HTTPs redirections at admin area in shared hosting
- WordPress Login for multiple sites
- Blank sign in page
- How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?
- Action for opening edit page in admin?
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the “users search” input box
- wp-admin is opening but the site isn’t opening
- Can’t Access Wp-admin Login Page I get 500 error
- Unable to login or reset password via wp-admin
- login_enqueue_scripts changes are not reflecting