When getting the term ID associated with a profile, PHP > 8.1 triggers this Deprecated functionality warning:
PHP Deprecated: Creation of dynamic property Byline_Manager\Models\Profile::$term_id is deprecated in /var/www/savageplatform/wp-content/plugins/byline-manager/inc/models/class-profile.php on line 212
Steps To Reproduce
Get a Profile object, which will call the get_term_id() method, triggering the warning.
Description of the bug
When getting the term ID associated with a profile, PHP > 8.1 triggers this Deprecated functionality warning:
PHP Deprecated: Creation of dynamic property Byline_Manager\Models\Profile::$term_id is deprecated in /var/www/savageplatform/wp-content/plugins/byline-manager/inc/models/class-profile.php on line 212
Steps To Reproduce
Get a
Profile
object, which will call theget_term_id()
method, triggering the warning.Additional Information
No response