bobbingwide / oik-bob-bing-wide

More lazy smart shortcodes
https://www.oik-plugins.com/oik-plugins/oik-bob-bing-wide-more-lazy-smart-shortcodes/
GNU General Public License v2.0
1 stars 0 forks source link

CSV block server side rendering produces Error loading block. Invalid parameter(s): attributes #34

Closed bobbingwide closed 2 years ago

bobbingwide commented 4 years ago

This message is returned when Server Side Rendering the oik-bbw/csv block in wp-pompey.org.uk, running WordPress 5.4.2

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

<!-- wp:oik-bbw/csv {
"content":"Time,Item\n
7.00pm,Connect to Zoom. Bring your own drink and chat\n
7.10pm,Organisers’ introduction to the online meeting\n
7:15pm,Talks start - including Q \u0026 A\n
8:45pm,Wrap-up"}
 /-->

Why?

bobbingwide commented 4 years ago

The server side rendering code is out of date with changes made in the oik-blocks plugin.

Workaround

bobbingwide commented 2 years ago

Retested today with latest version. No problem so closing.