Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#54312 new defect (bug)

Widgets editor blocks

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


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 2 years ago.

Download all attachments as: .zip

Change History (7)

2 years ago

#1 @andraganescu
2 years 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 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
2 years ago

  • Keywords reporter-feedback added

#3 @sabernhardt
2 years ago

(also reported on the support forums)

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

2 years ago

#5 @ryokuhi
2 years 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.

#6 @andraganescu
2 years ago

@donno1 is this still a problem in WordPress 5.9?

Note: See TracTickets for help on using tickets.