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-7/)
 * 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**
 * **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
       7 results - 4 filesjetpack_vendor\automattic\jetpack-assets\src\class-assets.php:  452    453:      if ( strpos( $lang_dir, $content_dir ) === 0 ) {  454           $data['baseUrl'] = content_url( substr( trailingslashit( $lang_dir ), strlen( trailingslashit( $content_dir ) ) ) );  455:      } elseif ( strpos( $lang_dir, $abspath ) === 0 ) {  456           $data['baseUrl'] = site_url( substr( trailingslashit( $lang_dir ), strlen( untrailingslashit( $abspath ) ) ) );jetpack_vendor\quadlayers\wp-plugin-suggestions\src\Page.php:  132           if ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'install-plugin' ) {  133:              if ( strpos( $url, 'plugins.php' ) !== false ) {  134                   $url = self_admin_url( $path );jetpack_vendor\quadlayers\wp-plugin-suggestions\src\Table.php:   46           function( $url, $path ) {   47:              if ( strpos( $url, 'tab=plugin-information' ) !== false ) {   48                   $url = network_admin_url( $path );   59           function ( $url, $path ) {   60:              if ( strpos( $url, 'plugins.php' ) !== false ) {   61                   $url = self_admin_url( $path );  158       }  159:      if ( $tab === 'beta' || false !== strpos( get_bloginfo( 'version' ), '-' ) ) {  160           $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' );vendor\composer\ClassLoader.php:  532              foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {  533:                 if (0 === strpos($class, $prefix)) {  534                      foreach ($dirs as $dir) {
       ```
   
 * vendor\automattic\jetpack-composer-plugin\src\class-plugin.php:
 *   147       // Fixup syntax a little.
 *   148:      $code = str_replace( ‘array (‘, ‘array(‘, $code );
 *   149       $code = preg_replace( ‘/ => \n\s*array\(/’, ‘ => array(‘, $code );
 * vendor\composer\platform_check.php:
 *   18          } elseif (!headers_sent()) {
 *   19:             echo ‘Composer detected issues in your platform:’ . PHP_EOL.
   PHP_EOL . str_replace(‘You are running ‘.PHP_VERSION.’.’, ”, implode(PHP_EOL,
   $issues)) . PHP_EOL.PHP_EOL;
 *   20          }
   This issue seems to be related to deprecated functionality or
   compatibility issues in the`above` files. 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 [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * (@jmatiasmastro)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-7/#post-18219615)
 * [@prachi-vashishtha](https://wordpress.org/support/users/prachi-vashishtha/) 
   Hi mate,
 * Thank you for bringing this to our attention. We recommend submitting a support
   ticket through the following link: [https://urbiport1.atlassian.net/servicedesk/customer/portal/2](https://urbiport1.atlassian.net/servicedesk/customer/portal/2)
 * This will allow us to investigate further and provide a more tailored solution.
   It’s possible that the issue is related to a specific configuration in your theme,
   plugins, or WordPress setup.
   Best regards, Quadlayers Support Team.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/search-exclude/assets/icon-256x256.png?rev=2916925)
 * [Search Exclude](https://wordpress.org/plugins/search-exclude/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-exclude/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-exclude/)
 * [Active Topics](https://wordpress.org/support/plugin/search-exclude/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-exclude/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-exclude/reviews/)

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