Title: Plugin Compatibility Issue with PHP 8.3
Last modified: December 27, 2024

---

# Plugin Compatibility Issue with PHP 8.3

 *  Resolved [Prachi Vashishtha](https://wordpress.org/support/users/prachi-vashishtha/)
 * (@prachi-vashishtha)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-12/)
 * I wanted to report that the plugin is not fully compatible with PHP 8.3. Upon
   running it in a PHP 8.3 environment, the following warning is generated:
 * **Deprecated**: strpos(): Passing null to parameter #1 ($haystack) of type string
   is deprecated in **/var/www/csi/html/wp-includes/functions.php** on line **7329**
 * **Deprecated**: str_replace(): Passing null to parameter #3 ($subject) of type
   array|string is deprecated in **/var/www/csi/html/wp-includes/functions.php**
   on line **2189**
 *     ```wp-block-code
       Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/csi/html/wp-includes/formatting.php on line 2819
       ```
   
 *     ```wp-block-code
       libs\sodium_compat\src\Core\Base64\Common.php:  132          } else {  133:             $src = rtrim($src, '=');  134              $srcLen = ParagonIE_Sodium_Core_Util::strlen($src);libs\sodium_compat\src\Core\Base64\Original.php:  129          } else {  130:             $src = rtrim($src, '=');  131              $srcLen =  ParagonIE_Sodium_Core_Util::strlen($src);libs\sodium_compat\src\Core\Base64\UrlSafe.php:  129          } else {  130:             $src = rtrim($src, '=');  131              $srcLen =  ParagonIE_Sodium_Core_Util::strlen($src);
       ```
   
 * This issue seems to be related to deprecated functionality or compatibility issues.
   It would be great if the plugin developers could investigate and update the codebase
   to ensure compatibility with PHP 8.3.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Darshana](https://wordpress.org/support/users/darshanaw/)
 * (@darshanaw)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-12/#post-18217946)
 * Hi [@prachi-vashishtha](https://wordpress.org/support/users/prachi-vashishtha/),
 * Thank you for bringing this to our attention.
 * Our developers are already aware of the deprecation notices you encountered in
   the PHP 8.3 environment. These notices are related to a vendor library used in
   the plugin and do not affect the functionality of the WP Mail SMTP plugin.
 * Although these are merely deprecation warnings and won’t cause any immediate 
   problems, our developers have stated that they will investigate whether an update
   for the library is available to maintain compatibility in the future.
 * We appreciate your patience and understanding. If you have any further questions
   or need additional assistance, please feel free to reach out.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Plugin Compatibility Issue with PHP 8.3’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darshana](https://wordpress.org/support/users/darshanaw/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-12/#post-18217946)
 * Status: resolved