- Open on Drupal.org →Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7 updated depslast update
over 1 year ago Waiting for branch to pass - Status changed to Needs work
over 1 year ago 3:15am 6 September 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Changing the order of the arguments isn't the correct fix here - thanks
- 🇮🇳India dineshkumarbollu
optional parameter set as
$input=NULL
or$input=False
will fix the deprecated warning that's reason i applied the patch.Can you suggest other way i can work on it. Thanks - Status changed to Postponed: needs info
over 1 year ago 3:41am 7 September 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Hi @dineshkumarbollu the code looks like this in HEAD
public static function value($element, $input, FormStateInterface $form_state) {
I.e. none of the parameters are optional that I can see.
I'm not sure where the error is coming from