Support » Fixing WordPress » Fatal error: Class 'WP_Widget'

  • Resolved burtsywurtsy

    (@burtsywurtsy)


    Hi,

    My site is: http://www.hortusvarius.com/

    As you will I am having a few problems with it. Whenever I go to the homepage or wp-admin page I am greeted by this message:

    Fatal error: Class ‘WP_Widget’ not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17

    I have done a manual reinstall of WordPress, I have disabled all my plugins and I have done a manual change of the template back to twentyfifteen.

    I have also added this code to my debug.log but don’t understand how to fix the response:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    
    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( 'SCRIPT_DEBUG', true );

    None of these have fixed the issue, any helpe would be greatly appreciated.

    Thanks,

    Anthony

Viewing 1 replies (of 1 total)
  • Thread Starter burtsywurtsy

    (@burtsywurtsy)

    This is currently what my debug.log is showing

    [20-Jan-2016 11:42:17 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
    [20-Jan-2016 11:42:21 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
    [20-Jan-2016 11:42:37 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
    [20-Jan-2016 11:42:41 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
    [20-Jan-2016 11:44:11 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
    [20-Jan-2016 11:45:07 UTC] PHP Fatal error:  Class 'WP_Widget' not found in /customers/a/0/8/hortusvarius.com/httpd.www/wp-includes/widgets/class-wp-widget-pages.php on line 17
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Class 'WP_Widget'’ is closed to new replies.