When i create a new wordpress site and try to view it i have this error :
Fatal error: Uncaught Error: Call to undefined method WP_Widget_Pages::_set() in /app/public/wp-includes/class-wp-widget.php:252 Stack trace: #0 /app/public/wp-includes/class-wp-widget-factory.php(141): WP_Widget->_register() #1 /app/public/wp-includes/class-wp-hook.php(286): WP_Widget_Factory->_register_widgets('') #2 /app/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /app/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /app/public/wp-includes/widgets.php(1649): do_action('widgets_init') #5 /app/public/wp-includes/class-wp-hook.php(286): wp_widgets_init('') #6 /app/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #7 /app/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #8 /app/public/wp-settings.php(450): do_action('init') #9 /app/public/wp-config.php(76): require_once('/app/public/wp-...') #10 /app/public/wp-load.php(37): require_once('/app/public/wp-...') #11 /app/public/wp-blog-header.php(13): require_once('/app/public/wp-. in /app/public/wp-includes/class-wp-widget.php on line 252
Everything was working fine today and this happened all of a sudden. I’ve already uninstalled and reinstall Local Flywheel and Virtual Box. It’s the last version for both of them.
The only way i managed to make it work was to replace the content of the folder with a clean version of wordpress from the website. It looks like Local is not downloading a complete version of WordPress …
Did this happened to anyone of you ?