• Fabrik4.5.1 for Joomla5.2.4

    Fabrik4.5.1 is out. This update is needed for J!5.2.4

    See Announcements

Solved Many deprecated notices in Lists, Forms and Groups and Elements

p38

Well-Known Member
Greetings,

Been using Fabrik since 2009, and finally took the plunge to start migrating my 100's of Fabrik only applications over to Fabrik4 and Joomla4.
Going ok so far, and thought I would post some deprecated notices that are needing attention.

I know you will say switch off Joomla error reporting, but I cannot switch off the System default error log, as it is needed to debug and problem solve.

Furthermore, it would be risky to ignore fabrik deprecated notices as this indicates unknown states.

I have Joomla 4.4.3 and Php 8.2, Fabrik4 base and updated from GitHub

Any idea if these error notices are being attended to, I am sure this is the same for everyone.

regards
Paul.

1) Errors with ALL fabrik lists

( ! ) Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$model is deprecated in C:\xampp\htdocs\joomla\aes-tms\administrator\components\com_fabrik\models\list.php on line 127

And under the Publishing tab CreatedDate

( ! ) Deprecated: Function strftime() is deprecated in C:\xampp\htdocs\joomla\aes-tms\libraries\src\Form\Field\CalendarField.php on line 322

2) Errors with ALL fabrik forms
( ! ) Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$model is deprecated in C:\xampp\htdocs\joomla\aes-tms\administrator\components\com_fabrik\models\form.php on line 87
And under the Publishing tab CreatedDate

( ! ) Deprecated: Function strftime() is deprecated in C:\xampp\htdocs\joomla\aes-tms\libraries\src\Form\Field\CalendarField.php on line 322
And under the Groups tab
( ! ) Deprecated: Creation of dynamic property JFormFieldAutoCreateGroup::$layoutData is deprecated in C:\xampp\htdocs\joomla\aes-tms\administrator\components\com_fabrik\classes\44\FormField.php on line 591
3) Errors with ALL fabrik elements
( ! ) Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$model is deprecated in C:\xampp\htdocs\joomla\aes-tms\administrator\components\com_fabrik\models\element.php on line 127
( ! ) Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$repeatCounter is deprecated in C:\xampp\htdocs\joomla\aes-tms\components\com_fabrik\models\plugin.php on line 318

( ! ) Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$rawData is deprecated in C:\xampp\htdocs\joomla\aes-tms\components\com_fabrik\models\plugin.php on line 383

And with element labels

( ! ) Deprecated: Creation of dynamic property JFormFieldTextorwysiwyg::$editor is deprecated in C:\xampp\htdocs\joomla\aes-tms\administrator\components\com_fabrik\classes\44\FormField.php on line 591
 
As you say:
Deprecated messages are only warnings (related to php9).

You don't need to turn J! error reporting off, you can set it to something lower than max or remove the depreated level in a php.ini.

"Deprecated: Function strftime()..." is coming from Joomla, not Fabrik.

"Deprecated...com_fabrik\classes\44\FormField.php": identical to Joomla (4.4.10)

Other Dynamic property warnings: Will be fixed in Fabrik5, maybe also in Fabrik4
 
Long time no see Paul, welcome back. Yes most of those deprecated warnings will be fixed in F5. PHP 9 will make these fatal errors.

Yes, and as @troester pointed out the strftime deprecation is coming from a joomla form field. Other than the fact we are using this field, the deprecation has nothing to do with us.
 
Thanks troester and achartier for replies, much appreciated.

You are correct, the strftime() warnings were coming from Joomla, I did not pick that up in the warning message, my apologies for this.

As for the rest, only way I could inhibit was php settings, but I can make do with this for now until all sites are upgraded.

My biggest site (built with fabrik 7 years ago) has just surpassed processing 1 billion records so naturally I will be on edge upgrading to Fabrik4.

Many thanks for the help, much appreciated.

Paul
 
Back
Top