Moderator
James Huff
(@macmanx)
Volunteer Moderator
Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your Dashboard, try deactivating all plugins. If you don’t have access to your Dashboard, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Twenty theme to rule-out a theme-specific issue. If you don’t have access to your Dashboard, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.
If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.
If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that specific time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Thread Starter
Afie
(@situnetest)
Hi James,
Thank you for your response and the information you provided. I deactivated the plugins and switched themes. It seems the issue is with my OceanWP theme. I’ve switched back to OceanWP now. Perhaps, something got corrupted after moving to WP 5.8. I had created a custom header, which I deleted yesterday and tried the Default header and menu. The header disappeared, taking the logo with it, but the Contact button still shows up in the header section without the menu, which is weird since the header has been deleted but the menu is the same and in the Customize panel the website is set to point to this menu. IS there any way to repair the theme without breaking the website?
Thanks
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Ok, I recommend reporting the problem at https://wordpress.org/support/theme/oceanwp/ so the theme’s developers and support community can help you with this.
Moderator
James Huff
(@macmanx)
Volunteer Moderator