PHP8 - Dynamic prop...
 
Share:
Notifications
Clear all

Issue [Solved] PHP8 - Dynamic properties are deprecated since php8

3 Posts
2 Users
0 Likes
380 Views
Posts: 1
Topic starter
(@lopesgon)
New Member
Joined: 1 year ago

Hello, following the major php8 release update the plugin throws the following print on debug mode:

Deprecated: Creation of dynamic property WpdiscuzAddons::$tips is deprecated in /Users/****/mamp/wordpress/wp-content/plugins/wpdiscuz/options/class.WpdiscuzAddons.php on line 365

It would be great to do a small fix to get rid of depreciation message for full compatibility guarantee with upcoming php8.x releases.

See also php.watch about this depreciation: Dynamic Properties are deprecated - PHP 8.2 • PHP.Watch

Regards.

2 Replies
Asti
Posts: 7056
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

Thank you for letting us know. We'll check and let you know ASAP. 

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 6 years ago

Illustrious Member
Posts: 7056

The issue will be fixed in the next version. 

Share: