• Resolved David Gard

    (@duck_boy)


    Hey all,

    I’ve just updated to 3.3.1 and I’m getting the fatal error Class 'WP_List_Table' not found.

    I have a custom table defined, and this works perfectly in WP 3.3.1 on my local dev server, but not on either of my sites.

    Does any body know what could be casusing this error?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sounds like a faulty upgrade. Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter David Gard

    (@duck_boy)

    Hi Esmi,

    I have two sites that are carbon copies of each other, but use diffent databases.

    The upgrade it self seems to have worked – I initially did the auto upgrade and both sites worked, it was only when I updated my theme that I hit trouble. This theme includes an admin options page and works fine on my local dev server, but I get that error when trying to set up my Extender class to make the table on both of the live sites.

    Both use the same host, but to be honest I’m not even sure what to check settings wise. Could it be a folder permissions issue? I.e. my theme can’t see the admin files on the live server?

    Thanks.

    Thread Starter David Gard

    (@duck_boy)

    Ah, panic over.

    On my dev site, I had a plugin that showed an example of a custom list table activated, and this included the following (as it turns out, essential) code!

    /**
     * Check that 'class-wp-list-table.php' is available
     */
    if(!class_exists('WP_List_Table')) :
        require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
    endif;

    All up and running.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Class 'WP_List_Table' not found’ is closed to new replies.