• Resolved takidk

    (@takidk)


    Hi

    Wordpress asked for a update til 5.1, which I did.

    Now I’m not able to access my control panel or page at all.

    I getting this error:
    Fatal error: Cannot declare class WP_REST_Blocks_Controller, because the name is already in use in /var/www/bruhncarlsen.com/public_html/wp-content/plugins/gutenberg/lib/class-wp-rest-blocks-controller.php on line 0

    I don’t know how to remove it, or being able to access the functions.php to remove or edit.

    What to do now?

    Hoping you are able to help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @takidk ,

    It seems that you’re using an older version of the Gutenberg plugin. The class-wp-rest-blocks-controller.php existed up to it’s 4.9.0 version and after that it was removed since WordPress uses Gutenberg as it’s built-in editor after WordPress 5.0.

    This is why you see that conflict & error. To resolve it you can either remove the Gutenberg plugin by deleting the plugins/gutenberg folder via FTP or your servers File Manager or by renaming it’s folder to something like _gutenberg so WordPress can
    automatically disable it ( do keep a backup of the site first if you’re not really comfortable on changing files manually just in case of anything going wrong ?? ).

    The plugin itself is still used for further development of the editor and you can still use it if you like to have the latest updates until they are merged into WordPress. So after removing or disabling the existing plugin you can either safely re-install or update it as well.

    I hope this helps!

    Thread Starter takidk

    (@takidk)

    Hi Konstantinos Xenos (@xkon)

    Thank you for your quick reply.

    I removed the files from the plugins/gutenberg folder via FTP. Everything is now back to normal again.

    I think I will wait for Gutenberg to be merged into WordPress.

    Have a nice day ;O)

    Claus

    @takidk I’m glad to see that everything is back to normal!

    Gutenberg was merged into WordPress from 5.0 release as I’ve mentioned on my last reply ?? ( ref: https://www.ads-software.com/news/2018/12/bebo/ ) and it is the new default editor so in essense you won’t need the plugin as well if you’re using WordPress 5.0+ .

    The plugin is used for further development of Gutenberg and you can use it to see the “latest” changes & features that are added and aren’t still merged into core.

    Thread Starter takidk

    (@takidk)

    @xkon You are of course right. Wasn’t aware that Gutenberg all ready had merged into the 5.0 WP.

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Gutenberg’ is closed to new replies.