• Hi,

    When trying to add the archive block in the widgets I get an “Error loading block: Invalid parameter(s): attributes”

    The rest response shows this info:

    {“code”:”rest_invalid_param”,”message”:”Invalid parameter(s): attributes”,”data”:{“status”:400,”params”:{“attributes”:”gtRemoveMarginTop is not a valid property of object.”},”details”:{“attributes”:{“code”:”rest_additional_properties_forbidden”,”message”:”gtRemoveMarginTop is not a valid property of object.”,”data”:null}}}}

    I guess it’s hinting at something wrong with the attributes, any idea?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Lukasz

    (@wpfed)

    Also, another error is present but disappears when I deactivate the plugin:

    Notice: wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.)

    I agree with the bug report. In my case when this plugin is active, almost any block that queries the database, like a post list, or a slider to display posts or cpt, those blocks cannot be displayed or configured in the editor, on the front end all is fine.

    Deactivating this plugin fixes the issue. So now, instead of using this plugin, I created a couple of custom CSS classes that does the same as this plugin…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error loading block: Invalid parameter(s): attributes’ is closed to new replies.