• I am an experienced WP developer who has hit a brick wall recently. I have several WP 2.x and 3.0.x websites running just fine on 1and1.com’s shared Linux hosting. However, I cannot get 3.1.x or 3.2.x to work under any circumstances.

    Default PHP version is 5.2.17 which should be fine for WP 3.1.x but I keep getting the same fatal error… Fatal error: Class ‘WP_Comments_List_Table’ not found in …/wp-admin/includes/list-table.php on line 41

    Whenever I click a dashboard tab that would result in a list (comments, pages, plugins, etc.) I get this fatal error involving list-table.php under both WP 3.1.x and 3.2.x

    I’ve done full reinstalls countless times and forced PHP 5.4.0 via .htaccess and still get the same fatal error. Is there any way around list-table.php which was introduced in WP 3.1 and is the source of my anguish?

    This is not my first time at the rodeo. Does anyone here have a functional WP 3.1 or 3.2 website hosted with 1and1.com on their shared Linux hosting? If so please get in touch. Any advice is appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ggandg

    (@ggandg)

    I think Worpdress.org is confused. I just got off the phone with bluehost.com and they use PHP 5.2.17 just fine with WP 3.2.1

    Why does www.ads-software.com claim that PHP 5.2.4 or greater is required when it’s really not?

    I don’t have time to play games with 1and1.com anymore, so I’m going to signup with bluehost.com today unless someone has a brighter idea…

    By checking this post:

    https://www.ads-software.com/support/topic/php-version-1?replies=18

    I can see the confusion here: the numbering of the version. If you follow their “tweaked” logic the 5.2.17 came “13” versions later than the 5.2.4.

    PHP 5.2.17 is newer than 5.2.4 because 17 is bigger than 4. Many people get confused by this.

    Thread Starter ggandg

    (@ggandg)

    That’s great, but can anyone shed some light on the CHRONIC fatal errors involving list-table.php that I am experiencing with WP 3.1 and 3.2 described above in the original post??

    Hi ggandg,

    I think the problem has nothing to do with the version of php you are running. The error is directly related to coding. If you notice it appears you have an undefined class in your code and that is causing the error. I would reset all the plugins (disable them) and change to the default theme. Then check your site… If this does not resolve this, then open the offending file and look at the line of code referenced. Back trace the code until you find out whats missing.

    If you’re having trouble with this, then you may want to take the list-table.php file from another installation and insert it. See if that corrects the issue.

    I hope this helps!

    Tim S

    Thread Starter ggandg

    (@ggandg)

    Thanks Tim, but I’ve done about a dozens fresh installs with various versions, re-downloaded 3.2.1 entirely, renamed the plugin directory, replaced list-table.php with earlier versions for WP 3.2.1 and later versions for 3.1.x

    Nothing works and again, this error occurs out of the starting gate without any possible plugin or hack issues.

    Why in the world is list-table.php unable to return the classes that are clearly defined in it’s own code? See the relevant lines from list-table.php below…

    19 function _get_list_table( $class ) {
    20 $core_classes = array(
    21 //Site Admin
    22 ‘WP_Posts_List_Table’ => ‘posts’,
    23 ‘WP_Media_List_Table’ => ‘media’,
    24 ‘WP_Terms_List_Table’ => ‘terms’,
    25 ‘WP_Users_List_Table’ => ‘users’,
    26 ‘WP_Comments_List_Table’ => ‘comments’,
    27 ‘WP_Post_Comments_List_Table’ => ‘comments’,
    28 ‘WP_Links_List_Table’ => ‘links’,
    29 ‘WP_Plugin_Install_List_Table’ => ‘plugin-install’,
    30 ‘WP_Themes_List_Table’ => ‘themes’,
    31 ‘WP_Theme_Install_List_Table’ => ‘theme-install’,
    32 ‘WP_Plugins_List_Table’ => ‘plugins’,
    33 // Network Admin
    34 ‘WP_MS_Sites_List_Table’ => ‘ms-sites’,
    35 ‘WP_MS_Users_List_Table’ => ‘ms-users’,
    36 ‘WP_MS_Themes_List_Table’ => ‘ms-themes’,
    37 );
    38
    39 if ( isset( $core_classes[ $class ] ) ) {
    40 require_once( ABSPATH . ‘wp-admin/includes/class-wp-‘ . $core_classes[ $class ] . ‘-list-table.php’ );
    41 return new $class;
    42 }
    43
    44 return false;
    45 }

    have you got any plugins or any themes? I believed it’s definitely with the coding and not the version.
    Disable all your plugins or set to default theme and see what happens.

    Thread Starter ggandg

    (@ggandg)

    Richard,

    Again, this fatal error is right out of the gate on a fresh 3.2.1 install, fresh database, no plugins, etc. I’m still battling this nagging problem.

    What blows my mind is I just did a successful auto update from 2.8.2 to 3.2.1 with one site, yet cannot do a fresh 3.2.1 install on the same hosting account without this chronic fatal error rearing its ugly head.

    Thread Starter ggandg

    (@ggandg)

    Not to bore you but I just manually copied the entire auto upgraded 3.2.1 site into another directory, updated the config with new info and presto, a new 3.2.1 website- but I still can’t do a 3.2.1 install from scratch without getting the aforementioned fatal error, no matter what I do!

    Are these all 1and1 hosted sites? Terrible security!
    https://tinyurl.com/3g6uxox
    Apologies for the not-so-helpful reply.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hosting/Installation Nightmares’ is closed to new replies.