• Resolved dmykins

    (@dmykins)


    I believe I updated to 4.5.3, although after the update I have not been able to access my site, I keep getting this error

    Fatal error: Class ‘WP_Widget’ not found in /home/nesainc/public_html/wp-includes/widgets/class-wp-widget-pages.php on line 17

    Below is line 17 of the file it describes.

    class WP_Widget_Pages extends WP_Widget {

    /**
    * Sets up a new Pages widget instance.
    *
    * @since 2.8.0
    * @access public
    */
    public function __construct() {
    $widget_ops = array(
    ‘classname’ => ‘widget_pages’,
    ‘description’ => __( ‘A list of your site’s Pages.’ ),
    ‘customize_selective_refresh’ => true,
    );
    parent::__construct( ‘pages’, __( ‘Pages’ ), $widget_ops );
    }
    Any help will be appreciated. the website is https://www.nesasales.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dmykins

    (@dmykins)

    I deactivated plugins, if not then I get more errors. I also tried to use ftp to deactivate my theme and still receive the same error.
    I uploaded new versions of wpinclude and wpadmin via ftp also

    Is this the site? https://nesasales.com/

    Is this error when you try to log in?

    Thread Starter dmykins

    (@dmykins)

    I actually just reinstalled the wpincludes and wpadmin folders from my backup and it worked, so I updated wordpress to the current version. although I am having a different issue now. Some of the formatting of my pages do not seem to be there. When I use the editor and put in any css it doesn’t stay. I hope that makes sense.

    You should probably open a new thread with the new problem and a link to the site.

    Thread Starter dmykins

    (@dmykins)

    I did. I am all set on this problem thank you!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error WP Widget not found’ is closed to new replies.