WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#53279 assigned defect (bug)

Widgets.php returning 500 when using php 8.0.3

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

Description

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
8 months 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
8 months 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
8 months 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.