More interesting stuff.
I’m trying to find out why this error happens on some sites but not on others.
So I’m using MainWP to manage a few sites and recently sync with some of them started failing. Error log from the child site that fails to sync has this:
PHP Fatal error: Class 'WP_List_Table' not found in /backwpup/inc/class-page-logs.php on line 5
PHP Stack trace:
PHP 1. {main}() public_html/index.php:0
PHP 2. require() public_html/index.php:17
PHP 3. require_once() public_html/wp-blog-header.php:12
PHP 4. require_once() public_html/wp-load.php:42
PHP 5. require_once() wp-config.php:115
PHP 6. do_action() public_html/wp-settings.php:392
PHP 7. call_user_func_array:{public_html/wp-includes/plugin.php:525}() public_html/wp-includes/plugin.php:525
PHP 8. MainWP_Child->parse_init() public_html/wp-includes/plugin.php:525
PHP 9. call_user_func:{/public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1041}() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1041
PHP 10. MainWP_Child->getSiteStats() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:1041
PHP 11. do_action() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child.php:2900
PHP 12. call_user_func_array:{public_html/wp-includes/plugin.php:525}() public_html/wp-includes/plugin.php:525
PHP 13. MainWP_Child_Back_WP_Up->do_site_stats() public_html/wp-includes/plugin.php:525
PHP 14. class_exists() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-back-wp-up.php:194
PHP 15. spl_autoload_call() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-back-wp-up.php:194
PHP 16. BackWPup->autoloader() public_html/wp-content/plugins/mainwp-child/class/class-mainwp-child-back-wp-up.php:194
PHP 17. require() public_html/wp-content/plugins/backwpup/backwpup.php:209
Here’s another weird thing.
The error doesn’t happen until MainWP tries to sync with this site. I mean, I browse the site, log into WP admin, whatever – the error is not there. However, once I try to sync this site from MainWP dashboard – here it comes.
That said, as I already mentioned, this still only happens on some sites managed by MainWP, not on all of them. Most child sites are on the same physical server (different cPanel accounts), one is on a different server. Those sites not having the error are on the same server with MainWP dashboard.
Any ideas of what kind of black magic is going on here? ??
I’m also going to let MainWP guys know, maybe they can shed some light on this.