It works as it usually did on PHP 5.6 / 7 / 8.1
Warnings "Dynamic Properties are deprecated" on PHP 8.2
Fatal Error on PHP 9
Joomla 4.4 or Joomla 5 on PHP 8.2 or PHP 9
https://php.watch/versions/8.2/dynamic-properties-deprecated
Note that setting a dynamic property from within the __set method is still deprecated.
Unfortunately in the file /libraries/src/Form/FormField.php the dynamic property could exist in the case, which I described before.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
@joomdonation Thank you for your reply. You are right, indeed the properties were not defined in the class of custom field type. I was using the tool component-creator.com, in their program some properties are missing in some of their custom field type classes, I will report the issues to them.
This issue can be closed.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-02-24 11:21:20 |
Closed_By | ⇒ | joomdonation |
@liuvz Shouldn't you add the missing properties to your custom field class to prevent these warning? The fields from core should work fine. If you see any fields from Joomla core having this issue, please report it back so that It could be fixed
Otherwise, this issue should be closed.