- Issue created by @stevewilson
- First commit to issue fork.
The following deprecation is observed when creating, editing or even just visiting the Edit tab of a piece of content when running PHP 8.1:
Deprecated function: Automatic conversion of false to array is deprecated in form_builder() (line 1908 of [mysite]/includes/form.inc).
Visit the Edit tab of a content node;
Check the log.
The source of this deprecation has been traced to line 32 of save_draft.module:
$form['options']['status'] = false;
Changing this to:
$form['options']['status'] = array();
fixed this for me.
Create a patch, test and commit. (Creating a patch is not something I know how to do I'm afraid.)
None
None
None
Needs work
1.4
Code