Hello,
I see you are encountering deprecated warnings related to dynamic properties in Ninja Forms. While disabling E_DEPRECATED or E_USER_DEPRECATED in error_reporting might suppress these warnings, it’s important to consider the long-term implications.
Before making any code changes, I recommend checking the PHP version you are running. Older versions of Ninja Forms may not be fully compatible with the latest PHP versions, which can lead to deprecated warnings.
If you’re running an older version of Ninja Forms, consider updating it to the latest version. Maintaining compatibility with the latest PHP versions is essential for security and performance, so it’s a good practice to keep Ninja Forms and PHP up to date.
If that doesn’t resolve it I recommend reaching out to our Customer Success team. They will have an official fix or guidance on how to handle this situation properly.
as mentioned, disabling E_DEPRECATED or E_USER_DEPRECATED makes no difference anyway.. the error is still thrown (maybe something to do with symfony/debug)
We are using latest Ninja Forms plugin and ultimately it’s the Ninja Forms code using deprecated functionality, so I’ll wait for an update that covers PHP 8.2 without warnings
thanks
have the same errors in lates plugin
[04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property NF_Database_Models_Action::$timing is deprecated in /wp-content/plugins/ninja-forms/includes/Abstracts/Action.php on line 204
[04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property NF_Database_Models_Action::$priority is deprecated in /wp-content/plugins/ninja-forms/includes/Abstracts/Action.php on line 205
[04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property NF_Database_Models_Action::$timing is deprecated in /wp-content/plugins/ninja-forms/includes/Abstracts/Action.php on line 207
[04-Feb-2024 10:28:00 UTC] PHP Deprecated: Creation of dynamic property NF_Database_Models_Action::$priority is deprecated in /wp-content/plugins/ninja-forms/includes/Abstracts/Action.php on line 208
Can you fix it?