Title: Error loading block: Invalid parameter(s): attributes
Last modified: March 13, 2020

---

# Error loading block: Invalid parameter(s): attributes

 *  Resolved [Wes Modes](https://wordpress.org/support/users/wmodes/)
 * (@wmodes)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/)
 * I am running the latest version of Insert Pages (3.5.2) and am getting two (possibly
   related) errors.
 * When I enter the editor (before I’ve tried to insert a page), I get a debugging
   message:
 * `Notice: WP_Block_Type_Registry::register was called incorrectly. Block type "
   insert-pages/block" is already registered. Please see Debugging in WordPress 
   for more information. (This message was added in version 5.0.0.) in /srv/data/
   web/vhosts/unavoidabledisaster.com/htdocs/wp-includes/functions.php on line 4986`
 * When I add an Insert Pages block in the standard Gutenberg editor, as soon as
   I specify the page to insert (even if it is a standard post), the block says:
 * `Error loading block: Invalid parameter(s): attributes`
 * Strangely, I can publish it or preview it and it looks fine.
 * If I insert a page that has my CPT on it, again I can publish or preview the 
   page with an inserted CPT page, but if I return to the editor, I get a blank 
   page with the former error across the top.
 * Any suggestions?
    -  This topic was modified 6 years, 2 months ago by [Wes Modes](https://wordpress.org/support/users/wmodes/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12541742)
 * Thanks, we’ll investigate!
 *  Thread Starter [Wes Modes](https://wordpress.org/support/users/wmodes/)
 * (@wmodes)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12542386)
 * Interestingly, with Elementor, it works just fine. Edit and then re-edit no problem.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12609410)
 * Hm, I’m not able to reproduce this. Can you provide more details, like theme 
   and enabled plugins? Or even better, try to reproduce it on vanilla WordPress?
 * I wonder if it’s a conflict with another plugin doubling up on the environment
   or something.
 * I’m running in debug mode as follows:
 *     ```
       define( 'WP_DEBUG', true );
       define( 'WP_DEBUG_LOG', true );
       define( 'WP_DEBUG_DISPLAY', false );
       define( 'SCRIPT_DEBUG', true );
       ```
   
 * I also just committed some fixes for some Gutenberg deprecation notices, so if
   you’re feeling adventurous please try testing on the latest version in git! It
   hasn’t made it into a versioned release yet.
    [https://github.com/uhm-coe/insert-pages/commit/f2efd8a7df7d19e53cc09fe5d4178d939f626e66](https://github.com/uhm-coe/insert-pages/commit/f2efd8a7df7d19e53cc09fe5d4178d939f626e66)
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12609411)
 * <dupe>
    -  This reply was modified 6 years, 2 months ago by [Paul Ryan](https://wordpress.org/support/users/figureone/).
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12710191)
 * We’ve added some fixes for recent deprecations in Gutenberg, so please test the
   new version, 3.5.3!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error loading block: Invalid parameter(s): attributes’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)
 * [editor](https://wordpress.org/support/topic-tag/editor/)

 * 5 replies
 * 2 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-2/#post-12710191)
 * Status: resolved