When testing Joomla 6 I noticed a deprecation warning using the new Note Custom Field introduced in PR: #45233
To generate the bug create a note custom field. Edit an article where the note field is visible. On top there will be the warning:
Deprecated: DOMCdataSection::__construct(): Passing null to parameter #1 ($data) of type string is deprecated in C:\laragon\www\joomla6test\administrator\components\com_fields\src\Plugin\FieldsPlugin.php on line 277
The solution could be to leave the "Default Value Form Field" in the plugin settings visible despite it having no function.
The "Default Value Form Field" is remove in: plugins\fields\note\src\Extension\Note.php on line 50
@TLWebdesign could you please take a look?
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Title |
|
Yep that introduced it. I'll make a PR. Already know what do to do fix it. Thanks Rick for reporting this!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-10-03 05:36:51 |
Closed_By | ⇒ | QuyTon |
For reference: That was made with PR #46039 .