Support » Plugin: Spectra - WordPress Gutenberg Blocks » UAG breaking block preview for dynamic blocks — again

  • Resolved Brecht

    (@brechtvds)


    The latest update is breaking dynamic blocks in the Block Editor, causing them to show this error: “This block has encountered an error and cannot be previewed.”

    The problem is related to attributes that your plugin is adding:

    {
        "code": "rest_invalid_param",
        "message": "Invalid parameter(s): attributes",
        "data": {
            "status": 400,
            "params": {
                "attributes": "UAGResponsiveConditions is not a valid property of Object."
            },
            "details": {
                "attributes": {
                    "code": "rest_additional_properties_forbidden",
                    "message": "UAGResponsiveConditions is not a valid property of Object.",
                    "data": null
                }
            }
        }
    }

    Please see this topic as we had that exact same problem 10 months ago: https://wordpress.org/support/topic/uag-breaking-block-preview-for-dynamic-blocks/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Damien

    (@damienmaurer)

    If it helps anyone having the same issue, this bug was introduced in 2.0.9 or 2.0.8 as rolling back to 2.0.7 makes it go away.

    Plugin Support Rajkiran Bagal

    (@rajkiranb)

    Hey @damienmaurer @brechtvds,

    Thanks for writing in!

    We apologize for the inconvenience caused to you.

    Can you please help us replicate the issue by letting us know for which blocks the issue is occurring? So that we will be able to fix the issue & provide you with a solution.

    Looking forward to hearing from you.

    Damien

    (@damienmaurer)

    WP Recipe Maker – Recipe for example.

    But probably any other block with dynamic view…

    It’s was introduced very, very recently, so should be ready to spot what caused it. Hopefully.

    Plugin Support Rajkiran Bagal

    (@rajkiranb)

    Hey @damienmaurer @brechtvds,

    We have identified, fixed & released the fix for the issue in our latest update of Spectra ie v2.0.10.

    Can you please check by updating Spectra & let me know if your issue is fixed?

    Looking forward to hearing from you.

    Damien

    (@damienmaurer)

    Yes it works, thanks for the quick fix.

    Plugin Support mohsinbsf

    (@mohsinbsf)

    Thanks for confirming.

    I am marking this thread as Resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.