Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53279 assigned defect (bug)

Widgets.php returning 500 when using php 8.0.3

Reported by: dan14's profile Dan14 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7.2
Component: Widgets Keywords: needs-testing reporter-feedback
Focuses: administration Cc:


I am not a developer. I switched from php 7.4 to php 8.0.3. The widgets do load at the front end but I cannot make any edits in appearance - widgets. /widgets.php is returning 500 error when using php 8.0.3. I reverted back to php 7.4 for testing and widgets.php functioned as normal.

I hope I contributed something.

Change History (3)

#1 @mmuyskens
3 years ago

Tested this on PHP Version 8.0.3 and not able to replicate from my side.

What does your error log show? This sounds more like a missing PHP module vs an actual issue with PHP 8 itself.

#2 @SergeyBiryukov
3 years ago

  • Component changed from General to Widgets
  • Keywords reporter-feedback added; 2nd-opinion removed

Hi there, welcome to WordPress Trac! Thanks for the report.

Just noting that this might be related to #53278.

Does the issue still happen with all plugins disabled and a default theme (Twenty Twenty) activated?

#3 @justinahinon
3 years ago

I can not reproduce the issue also.

Test setup
WordPress 5.7.2 with Twenty Twenty One and no plugin activated.

Note: See TracTickets for help on using tickets.