Some depricated warnings

EricWebsite

Member
In Fabrik 4 gamma3, on Joomla 4.3 and php 8.1.18, on forms the following warnings are shown:

- for the date element
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in ...../libraries/src/Date/Date.php on line 126

- for the birthday element (4 times)
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ...../plugins/fabrik_element/birthday/birthday.php on line 430
 
Birthday should be fixed in the next release.

Date element:
The deprecated message is coming from Joomla and I don't get it.
Which settings do you have for your date (old date or jdate?) element? Timepicker, defaults ...
 
Hi,
The date element is an old date element, no jdate. The user has view only rights.
Time selector, picker, seconds, Default to current date, Always return today's date, are Off. 24 hr fomat is On. It is set as Local time.

I found out that the Deprecated text is only displayed when the field is empty. When a superuser has set the date, the error disappears.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top