略過並前往主要內容
致電我們
服務專線和服務時間
預約回電

無須線上等候,提交預約我們將儘快回電。

預約回電
說明中心

瀏覽我們線上說明資源

說明

GoDaddy 說明

Troubleshoot core file errors in WordPress

You can use the steps below to help diagnose whether an error is related to WordPress core files.

Prepare your WordPress site for the troubleshooting:

  1. You should always make a backup of your site before performing any troubleshooting.
  2. Disable any caching plugins.
  3. Disable WP_CACHE if your site uses it.

Look for a core file-related error:

  1. Enable WordPress debug mode.
  2. Visit your site and check to see if there is a PHP error.
  3. If there is a PHP error, check to see if a WordPress core file or folder is referenced in the file path.

    Note: Often these errors will reference a file in the wp-admin or wp-includes folders.

  4. Below is an example:

    Fatal error: require(): Failed opening required '/home/user/public_html/wp-includes/class-wp.php'

  5. If the file path in the error contains a reference to a core file or folder, then you can move on to fixing the issue.
  6. If the error isn't visible on your website, then you'll need to expose the error:
  7. If the logs or detailed errors show a PHP error related to a core file, then you can begin fixing it.

Next steps

More info

相關社群

mrbills's Avatar
Wordpress core file modified

2 回覆

Last posted almost 2 years ago.

lanaquiv's Avatar
Wordfence: what are these 'critical problems' found?

4 回覆

Last posted about 3 years ago.

scmeis1's Avatar
core file generation

1 回覆

Last posted over 4 years ago.

Coco_Marvin's Avatar
PHP Core Warning

第一個回覆

Last posted over 1 year ago.

找不到主題嗎?搜尋社群