Need help with error

  • Unknown's avatar

    Fatal error: Uncaught Error: Class ‘WP_Block_Metadata_Registry’ not found in /home/kd175000/public_html/oooooooo/wp-includes/blocks.php:391 Stack trace: #0 /home/kd175000/public_html/oooooooo/wp-includes/blocks/index.php(172): wp_register_block_metadata_collection(‘/home/kd175000/…’, ‘/home/kd175000/…’) #1 /home/kd175000/public_html/oooooooo/wp-includes/class-wp-hook.php(324): wp_register_core_block_metadata_collection(”) #2 /home/kd175000/public_html/oooooooo/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /home/kd175000/public_html/oooooooo/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/kd175000/public_html/oooooooo/wp-settings.php(700): do_action(‘init’) #5 /home/kd175000/public_html/oooooooo/wp-config.php(99): require_once(‘/home/kd175000/…’) #6 /home/kd175000/public_html/oooooooo/wp-load.php(50): require_once(‘/home/kd175000/…’) #7 /home/kd175000/public_html/oooooooo/wp-blog-header.php(13): require_once(‘/home/kd175000/…’) #8 /home/kd175000/public_html/oooooooo/index.php(17): require(‘/home/kd175000/…’) #9 {main} thrown in /home/kd175000/public_html/oooooooo/wp-includes/blocks.php on line 391

    Self-declared URL: https://jk-digitals/oooooooo/
    Jetpack: Unknown
    WP.com: Unknown

    The blog I need help with is: (visible only to moderators and staff)

  • Unknown's avatar

    Hi there! 👋🏼

    By looking at this error stack trace, I’d say this is a self-hosted WordPress instance.

    To confirm this, would you mind sharing your site URL?

  • Unknown's avatar


    i am facing this problem loging in to my wordpress website can i get a help on it.

    Fatal error: Uncaught Error: Class “WP_Block_Metadata_Registry” not found in C:xampphtdocswordpresswp-includesblocks.php:391 Stack trace: #0 C:xampphtdocswordpresswp-includesblocksindex.php(172): wp_register_block_metadata_collection(‘C:\xampp\htdocs…’, ‘C:\xampp\htdocs…’) #1 C:xampphtdocswordpresswp-includesclass-wp-hook.php(324): wp_register_core_block_metadata_collection(”) #2 C:xampphtdocswordpresswp-includesclass-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 C:xampphtdocswordpresswp-includesplugin.php(517): WP_Hook->do_action(Array) #4 C:xampphtdocswordpresswp-settings.php(700): do_action(‘init’) #5 C:xampphtdocswordpresswp-config.php(96): require_once(‘C:\xampp\htdocs…’) #6 C:xampphtdocswordpresswp-load.php(50): require_once(‘C:\xampp\htdocs…’) #7 C:xampphtdocswordpresswp-adminadmin.php(34): require_once(‘C:\xampp\htdocs…’) #8 C:xampphtdocswordpresswp-adminindex.php(10): require_once(‘C:\xampp\htdocs…’) #9 {main} thrown in C:xampphtdocswordpresswp-includesblocks.php on line 391

  • Unknown's avatar

    Hi @loudlywastelandeb78f4aa20, If you still experience this issue, please feel free to let us know.

    Hi @tebohobigmishmaroba, this is a support forum for a WordPress site that is hosted on WordPress.com. Since you are using the localhost version of WordPress, please open a new thread on the WordPress.org forums. It seems to me that WordPress did not install correctly. You can try reinstalling your WordPress site.

  • Unknown's avatar

    Had the same problem and compared with another installation. One file and the loading from this file has been missing:

    1. copy: cp ./wp-content/upgrade/wordpress-6.7-de_de_formal/wordpress/wp-includes/class-wp-block-metadata-registry.php wp-includes/
    2. add to wp-settings.php, around line 358: require ABSPATH . WPINC . ‘/class-wp-block-metadata-registry.php’;
  • Unknown's avatar

    Yep, I’d same challenge. Adding the following solved to wp-settings.php line 353 solved it.

    require ABSPATH . WPINC . ‘/class-wp-block-metadata-registry.php’;

  • Unknown's avatar

    This error usually happens due to corrupted files or a mismatch between WordPress versions. Try updating WordPress, replacing the wp-includes and wp-admin folders with fresh ones from wordpress.org, and disabling plugins or themes to isolate the issue. If it persists, reach out to your host for help. By the way, while troubleshooting, I’ve been enjoying a game with unlimited money and gems—it’s a fun way to take a break!

  • The topic ‘Need help with error’ is closed to new replies.