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-5/)
 * 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 2819functions.php:  125      $meta_excludelist_string = '(' . implode( ')|(', $meta_excludelist ) . ')';  126:     if ( strpos( $meta_excludelist_string, '*' ) !== false ) {  127          $meta_excludelist_string = str_replace( [ '*' ], [ '[a-zA-Z0-9_]*' ], $meta_excludelist_string );revisionary_main.php:  28    function init() {  29:       if (isset($_SERVER['REQUEST_URI']) && is_admin() && (false !== strpos(esc_url_raw($_SERVER['REQUEST_URI']), 'revision.php')) && (!empty($_REQUEST['revision']))) {  30            add_action('init', [$this, 'addFilters'], PHP_INT_MAX);  44        // Note: some filtering is needed to allow users with full editing permissions on the published post to access a Compare Revisions screen with Preview and Manage buttons  45:       if (is_admin() && isset($_SERVER['REQUEST_U
       ```
   
 * functions.php:
 *   126      if ( strpos( $meta_excludelist_string, ‘*’ ) !== false ) {
 *   127:         $meta_excludelist_string = str_replace( [ ‘*’ ], [ ‘[a-zA-Z0-9_]*’],
   $meta_excludelist_string );
 *   128  
 * revision-workflow_rvy.php:
 *    51                  
 *    52:                 $use_wp_roles = str_replace( ‘ ‘, ”, $use_wp_roles );
 *     ```wp-block-code
          53                  $use_wp_roles = explode( ',', $use_wp_roles );4 results - 2 fileslib\vendor\publishpress\instance-protection\core\Autoloader.php:   86          // normalize the base directory with a trailing separator   87:         $base_dir = rtrim($base_dir, DIRECTORY_SEPARATOR) . '/';   88    131              // of strrpos()  132:             $prefix = rtrim($prefix, '\\');  133          }vendor\publishpress\publishpress-instance-protection\core\Autoloader.php:   86          // normalize the base directory with a trailing separator   87:         $base_dir = rtrim($base_dir, DIRECTORY_SEPARATOR) . '/';   88    131              // of strrpos()  132:             $prefix = rtrim($prefix, '\\');
       ```
   
 * 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 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-5/#post-18217789)
 * Thanks for reporting this. It is a problem with a different plugin, but we’ll
   make sure it gets fixed: [https://wordpress.org/plugins/revisionary/](https://wordpress.org/plugins/revisionary/)
 *  Plugin Author [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * (@kevinb)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-5/#post-18232393)
 * [deleted reply due to cross-posting to Revisions plugin support]

Viewing 2 replies - 1 through 2 (of 2 total)

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

 * ![](https://ps.w.org/publishpress-authors/assets/icon-256x256.png?rev=3391318)
 * [Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors](https://wordpress.org/plugins/publishpress-authors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publishpress-authors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publishpress-authors/)
 * [Active Topics](https://wordpress.org/support/plugin/publishpress-authors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publishpress-authors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publishpress-authors/reviews/)

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