Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bobbingwide opened this issue Sep 2, 2020 · 2 comments
Assignees
Labels
bug Gutenberg WordPress 5.0 block editor

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Sep 2, 2020

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 bobbingwide added bug Gutenberg WordPress 5.0 block editor labels Sep 2, 2020
@bobbingwide bobbingwide self-assigned this Sep 2, 2020
@bobbingwide
Copy link
Owner Author

bobbingwide commented Sep 6, 2020

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

Workaround

  • upload and activate the latest version of oik-blocks?

@bobbingwide
Copy link
Owner Author

Retested today with latest version. No problem so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Gutenberg WordPress 5.0 block editor
Projects
None yet
Development

No branches or pull requests

1 participant