Fatal error: Cannot declare class WP_REST_Blocks_Controller, because the name is already in use in /app/public/wp-content/plugins/gutenberg/lib/class-wp-rest-blocks-controller.php on line 0

Hi there, I’m rather new to Local by Flywheel. A few months ago I created a test website, as a part of a Udemy online training about developing websites using Wordpress. I started Local by Flywheel again yesterday and it prompted some updates. I executed all the updates and now when I try to start the website or the admin console, I get the following error message:
Fatal error: Cannot declare class WP_REST_Blocks_Controller, because the name is already in use in /app/public/wp-content/plugins/gutenberg/lib/class-wp-rest-blocks-controller.php on line 0

How can I solve this?

The newest version of WordPress (v5.0 and greater) include Gutenberg in the core, so you won’t need the Gutenberg plugin. I would delete the Gutenberg plugin folder and then run updates

1 Like

Removing the Gutenberg folder indeed has solved the problem. Thanks very much!

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.