WordPress阅读约 5 分钟

Troubleshooting common WordPress errors

Fix the most common WordPress issues: white screen of death, 500 errors, login loops, and database errors.

本文暂无您所用语言的版本,因此以英文显示。

Common WordPress errors and fixes

White Screen of Death (WSOD)

A blank white page usually means a PHP error. To fix:

  1. Enable WordPress debug mode: in wp-config.php add define('WP_DEBUG', true);
  2. Check the error log in Plesk → Logs
  3. Deactivate all plugins via FTP: rename the /wp-content/plugins folder
  4. Switch to a default theme (Twenty Twenty-Four) via FTP if needed

500 Internal Server Error

  1. Check Plesk error logs
  2. Rename .htaccess to .htaccess_old and visit your site — if it loads, regenerate .htaccess from WordPress → Settings → Permalinks → Save
  3. Increase PHP memory: add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php

Too many redirects / login loop

Usually caused by wrong URL settings. In wp-config.php add:

define('WP_HOME', 'https://yourdomain.com');
define('WP_SITEURL', 'https://yourdomain.com');

Error establishing database connection

  1. Check your database credentials in wp-config.php
  2. In Plesk → Databases, verify the database and user exist and the user has full privileges
  3. Test the database connection from Plesk → Databases → Webadmin (phpMyAdmin)
Still stuck? Open a support ticket with the exact error message and we'll help.

这篇文章有帮助吗?

返回帮助中心

仍然没有解决?

在客户中心提交工单,我们的团队会回复您。我们以 17 种语言处理工单。

电子邮件
[email protected]
电话和 WhatsApp
+383 45 400 405