Changes between Initial Version and Version 4 of Ticket #56127
- Timestamp:
- 04/24/2023 06:47:34 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56127
- Property Keywords reporter-feedback php8 added
-
Property
Severity
changed from
blocker
tonormal
-
Ticket #56127 – Description
initial v4 1 1 In WordPress core 6.0, plugins and themes that register widgets cause a fatal error for sites running on PHP 8.0. Here is an example: 2 3 **Uncaught ArgumentCountError:**Too few arguments to function WP_Widget::__construct(), 0 passed4 2 {{{ 3 Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed 4 }}} 5 5 A solution that is working for me is to edit line 61 of wp-includes/class-wp-widget-factory.php so that 6 6 {{{