You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress站点无法加载,请求协助排查文件缺失类报错

Fixing WordPress Fatal Error: Missing class-wp-list-table.php in XStore Theme's TGM Plugin Activation

First, let's lay out the exact error you're encountering:

Warning: require_once(/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in /customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-content/themes/xstore/framework/thirdparty/tgm-plugin-activation/class-tgm-plugin-activation.php on line 2170
Fatal error: require_once(): Failed opening required '/customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in /customers/4/7/0/jetpackprint.co.uk/httpd.www/wp-content/themes/xstore/framework/thirdparty/tgm-plugin-activation/class-tgm-plugin-activation.php on line 2170

This error pops up because your XStore theme's TGM Plugin Activation script is trying to load a core WordPress file (class-wp-list-table.php) that's either missing, corrupted, or inaccessible. Let's walk through actionable fixes to get your site back online:

  • Reupload WordPress Core Files to Restore the Missing File
    class-wp-list-table.php is a critical core WordPress file, so refreshing your core files is the most reliable first step (this won't touch your themes, plugins, or settings):

    1. Download the exact same version of WordPress you're using (check wp-includes/version.php on your server if you don't remember the version) from WordPress.org.
    2. Unzip the downloaded package, then delete the wp-content folder from the extracted files—we don't want to overwrite your custom content.
    3. Use FTP or your hosting control panel's file manager to upload the remaining files/folders (wp-admin, wp-includes, and root files like index.php) to your server, overwriting the existing ones.
    4. After the upload finishes, test if your site loads normally again.
  • Temporarily Switch to a Default Theme to Isolate the Issue
    If reuploading core files doesn't fix things, the problem might lie with the XStore theme's TGM implementation. Let's rule that out:

    1. Access your server via FTP/File Manager, navigate to wp-content/themes/.
    2. Rename the xstore folder to something like xstore-temp. WordPress will automatically switch to a default theme (like Twenty Twenty-Four) when the active theme is unavailable.
    3. If your site loads now, the issue is tied to the XStore theme's TGM script. Try updating the theme to its latest version (download from your ThemeForest account) or reach out to the XStore support team for help with their TGM code.
  • Verify File Permissions
    Incorrect file permissions can block WordPress from accessing core files:

    • Set folder permissions for wp-admin/includes/ to 755 (read/write/execute for the owner, read/execute for group and others).
    • Set file permissions for class-wp-list-table.php to 644 (read/write for the owner, read for group and others).
    • Most hosting control panels have a built-in "Fix Permissions" tool, or you can adjust permissions manually via FTP.

内容的提问来源于stack exchange,提问作者Christopher Fewster

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 08:12:29