PHP 8.2 deprecated warning Creation of dynamic property

[ad_1]

WP SMS 6.0.4, WP 6.2 beta3 with PHP 8.2

  1. Enable debugging with:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true );

2. Install and Activate WP SMS

3.Add a new Post with Subscribe widget and publish post and view it.

4. Following PHP warning is shown:

Deprecated: Creation of dynamic property WP_SMS\Front::$options is deprecated in C:\xampp\htdocs\test\wp-content\plugins\wp-sms\includes\class-front.php on line 15

Yes, warning is not something that breaks until future PHP versions, but it messes up the logs. And with many plugins it harder to find the real issues.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer