Changes between Initial Version and Version 1 of Ticket #60039
- Timestamp:
- 12/08/2023 08:34:26 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60039
-
Property
Status
changed from
newtoclosed -
Property
Resolution
changed from
toduplicate -
Property
Milestone
changed from
Awaiting Reviewto
-
Property
Status
changed from
-
Ticket #60039 – Description
initial v1 1 1 Running PHP 8.0.3 2 2 3 I receive the following error: 4 PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /var/www/html/marketing/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /var/www/html/marketing/wp-includes/class-wp-widget.php:163 3 I receive the following error: 4 `PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /var/www/html/marketing/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /var/www/html/marketing/wp-includes/class-wp-widget.php:163` 5 5 6 6 The function call on line 163: 7 {{{ 7 8 public function __construct( $id_base, $name, $widget_options = array(), $control_options = array() ) { 9 }}} 8 10 9 11 This needs to be updated to: 10 public function __construct( $id_base=null, $name=null, $widget_options = array(), $control_options = array() ) { 11 12 {{{ 13 public function __construct( $id_base=null, $name=null, $widget_options = array(), $control_options = array() ) { 14 }}}