WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 3 weeks ago

#54312 new defect (bug)

Widgets editor blocks

Reported by: donno1 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.8.1
Component: Widgets Keywords: reporter-feedback
Focuses: javascript Cc:

Description

Hi there, we have noticed a bug in widgets block.

When editing Widgets in Blocks will repeat with errors and the console shows it is a JSON error stating 'The response is not a valid JSON response' and also says 503 error with it.
Troubleshooting I have done:

  • Have tried downgrading versions, errors will be removed but unable to move widgets around. Now I have the current version.
  • Deactivating all plugins, one reactivated they come back and it is not related to a plugin.
  • did permalinks,
  • re did htaccess file
  • classic widgets plugin also takes away errors but you cant move widgets.

none of these steps worked.

Some guidance on what is happening would be greatly appreciated. Thank you

Attachments (1)

error.JPG (253.8 KB) - added by donno1 7 weeks ago.

Download all attachments as: .zip

Change History (6)

@donno1
7 weeks ago

#1 @andraganescu
6 weeks ago

Howdy @donno1 and thanks for opening the ticket. This is very helpful for everyone to track down problems :) Could you by any chance provide a sample of what is returned in those invalid JSON requests? To get that, open develper tools and click on https://smallbusinessconnect.com.au/wp-json/wp/v2/widget-types/awesomeweatherwidget?context=edit&locale=_user and paste here what shows when that is expanded. That would help with debugging as it looks from the screeshots that mamy widget calls return undexpected results (usually some error, which is not JSON).

Either way the quickest way to solve the problem for a live site is to use the opt out Classic Widgets plugin

#2 @sabernhardt
6 weeks ago

  • Keywords reporter-feedback added

#3 @sabernhardt
5 weeks ago

(also reported on the support forums)

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


3 weeks ago

#5 @ryokuhi
3 weeks ago

  • Focuses accessibility removed

Hello @donno1, and welcome again on WordPress Trac.

We've reviewed this ticket today during the Accessibility Team's weekly bug-scrub. In our opinion, this is not an accessibility issue and, as such, I'm removing the related focus.

If you think that this issue specifically impacts people with disabilities, then feel free to add the accessibility focus back.

Note: See TracTickets for help on using tickets.