By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Can't edit page --- 500 error

A

amber

New Member
Hi all,

There is one page which can't be edited. Any other page is no problem.
I've been editing this page many times but at one point this error messages always showed up.
The page is very big but that shouldn't effect it.
Pls can someone help :)
1724912235275.png
 
ruhul6644

ruhul6644

New Member
How to Fix 500 Internal Server Error on WordPress Site?

ChatGPT said:​


A "500 Internal Server Error" on a WordPress site is a generic error that indicates something has gone wrong on the server, but the server is unable to specify what the exact problem is. Here's a step-by-step guide to troubleshoot and fix this error:

1. Check for Corrupt .htaccess File

  • Access your website files via FTP or your hosting provider's file manager.
  • Locate the .htaccess file in your site's root directory.
  • Rename it to something like .htaccess_old.
  • Try reloading your site. If the site loads, the .htaccess file was the issue.
  • To generate a new .htaccess file, go to your WordPress dashboard, navigate to Settings > Permalinks, and click Save Changes (no need to change anything).

2. Increase PHP Memory Limit

  • Access your wp-config.php file via FTP or your hosting provider’s file manager.
  • Add the following line before the line that says /* That's all, stop editing! Happy blogging. */:
    php
    Copy code
    define('WP_MEMORY_LIMIT', '256M');
  • Save the file and refresh your site. If the error was due to insufficient memory, this should resolve it.

3. Deactivate All Plugins

  • Access your WordPress dashboard and go to Plugins > Installed Plugins.
  • Select all plugins and choose Deactivate from the bulk actions dropdown, then apply.
  • Refresh your site to see if the error is gone.
  • If the error is fixed, reactivate your plugins one by one to identify the culprit.
If you can’t access your dashboard:
  • Use FTP or your hosting provider’s file manager to navigate to wp-content/plugins.
  • Rename the plugins folder to plugins_old.
  • Check if the site loads. If it does, rename the folder back to plugins and then deactivate/reactivate plugins via the dashboard to find the issue.

4. Switch to a Default Theme

  • Go to Appearance > Themes in your WordPress dashboard.
  • Activate a default theme like Twenty Twenty-Three.
  • If this fixes the issue, the problem is likely with your previous theme.
If you can’t access your dashboard:
  • Via FTP or file manager, navigate to wp-content/themes.
  • Rename your active theme’s folder to something else (e.g., mytheme_old).
  • WordPress will automatically revert to a default theme.

5. Re-upload Core Files

  • Download a fresh copy of WordPress from wordpress.org.
  • Unzip the file on your computer.
  • Using FTP, upload the wp-admin and wp-includes folders from the fresh download to your site’s root directory. Overwrite the existing folders.
  • This will replace any corrupted files but leave your content and plugins intact.

6. Check File Permissions

  • Ensure your directories are set to 755 and files to 644 permissions.
  • Incorrect permissions can cause a 500 Internal Server Error. You can change these permissions via FTP or your hosting provider's file manager.

7. Enable Debugging

  • Add the following lines to your wp-config.php file to enable debugging:
    php
    Copy code
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
  • This will create a debug.log file in the wp-content directory where you can check for specific errors.

8. Contact Your Hosting Provider

  • If none of the above steps work, there might be an issue with your server configuration. Contact your hosting provider for further assistance.

9. Check Server Logs

  • If you have access to server logs (usually found in cPanel or your hosting dashboard),check them for specific errors that can point you in the right direction.
By following these steps, you should be able to identify and fix the cause of the 500 Internal Server Error on your WordPress site.
 

Latest posts

Latest Resources

Other Elementor Resources

elementor official
Top