[wp-trac] [WordPress Trac] #54230: Block based widgeteditor can't update "Not a valid JSON response"
WordPress Trac
noreply at wordpress.org
Wed Oct 13 20:35:03 UTC 2021
#54230: Block based widgeteditor can't update "Not a valid JSON response"
-------------------------------+------------------------------
Reporter: davidlarssonback | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 5.8.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: rest-api
-------------------------------+------------------------------
Comment (by sabbirshouvo):
@davidlarssonback are you using any shortcode inside widgets? If yes then
please check if any of the shortcodes `echo` anything instead of return.
If `echo` or output anything then the error will happen. Shortcodes should
always return content.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54230#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list