WordPress error when update to new version

admin2025-04-26  4

Got this error when I update my WordPress site, and now my site completely blank with this words.

Fatal error: Cannot redeclare class WP_REST_Blocks_Controller in /home/u323482793/public_html/wp-content/plugins/gutenberg/lib/class-wp-rest-blocks-controller.php on line 0

please help and show me what to do.

Got this error when I update my WordPress site, and now my site completely blank with this words.

Fatal error: Cannot redeclare class WP_REST_Blocks_Controller in /home/u323482793/public_html/wp-content/plugins/gutenberg/lib/class-wp-rest-blocks-controller.php on line 0

please help and show me what to do.

Share Improve this question edited Jun 15, 2020 at 8:21 CommunityBot 1 asked Apr 10, 2019 at 2:15 Ihsan Nurul ImanIhsan Nurul Iman 1
Add a comment  | 

1 Answer 1

Reset to default 0

The Gutenberg editor is from Wordpress 5.0 part of the core code. After the Wordpress update, you have two WP_REST_Blocks_Controller class definitions, one in WP core code, second in plugin.

Disable Gutenberg plugin by changing the name of the directory or removing it.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745607005a309634.html

最新回复(0)