Title: Gutenberg update fails, undefined function
Last modified: February 2, 2021

---

# Gutenberg update fails, undefined function

 *  [matssparky](https://wordpress.org/support/users/matssparky/)
 * (@matssparky)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-update-fails-undefined-function/)
 * Updating to latest gutenberg fails, v. 9.8.2
    edit: upate text says in plugins
   page 9.8.3 but .2 version was in readme file after update.
 * WordPress 5.4.4 with custom theme and default install
 *     ```
       Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata() 
       in /app/public/wp-content/plugins/gutenberg/lib/blocks.php:124 Stack trace: 
       #0 /app/public/wp-includes/class-wp-hook.php(287): gutenberg_reregister_core_block_types('') 
       #1 /app/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) 
       #2 /app/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) 
       #3 /app/public/wp-settings.php(540): do_action('init')  /app/public/wp-config.php(119): require_once('/app/public/wp-...') 
       #5 /app/public/wp-load.php(37): require_once('/app/public/wp-...') 
       #6 /app/public/wp-admin/admin.php(34): require_once('/app/public/wp-...') 
       #7 /app/public/wp-admin/plugins.php(10): require_once('/app/public/wp-...') 
       #8 {main} thrown in /app/public/wp-content/plugins/gutenberg/lib/blocks.php on line 124
       ```
   
 * php 7.2.9
    -  This topic was modified 5 years, 3 months ago by [matssparky](https://wordpress.org/support/users/matssparky/).

The topic ‘Gutenberg update fails, undefined function’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [matssparky](https://wordpress.org/support/users/matssparky/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-update-fails-undefined-function/)
 * Status: not resolved