最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

WordPress error when update to new version

matteradmin7PV0评论

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.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far