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-8/)
 * 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**
 * freemius\config.php:
 *   186          define( ‘WP_FS__IS_LOCALHOST_FOR_SERVER’, ( ! WP_FS__IS_HTTP_REQUEST
   ||
 *   187:                                                     false !== strpos( 
   $_SERVER[‘HTTP_HOST’], ‘localhost’ ) ) );
 *   188      }
 * freemius\start.php:
 *   403  
 *   404:      if ( 0 === strpos( $file_path, $plugins_or_theme_dir_path ) ) {
 *   405           // No symlinks
 *   420                  $sdk_symlink = $fs_active_plugins->plugins[ $this_sdk_relative_path]-
   >sdk_symlink;
 *     ```wp-block-code
         421:                 if ( 0 === strpos( $sdk_symlink, $plugins_or_theme_dir_path ) ) {admin\class-shortcodes-ultimate-admin.php:  211       // Replace plugin slug with template prefix  212:      $page = str_replace( $this->plugin_prefix, '', $page );  213    225    226:      $section = str_replace( $this->plugin_prefix, '', $args['id'] );  227  freemius\start.php:  232               . '/'  233:              . str_replace( "../{$themes_directory_name}/", '', $this_sdk_relative_path )  234               . '/start.php' );  297           . '/'  298:          . str_replace( "../{$themes_directory_name}/", '', $fs_active_plugins->newest->sdk_path )  299           . '/start.php' );
       ```
   
 *     ```wp-block-code
       admin\class-shortcodes-ultimate-admin-about.php:  11        $this->add_submenu_page(  12:           rtrim( $this->plugin_prefix, '-_' ),  13            __( 'About', 'shortcodes-ultimate' ),  15            $this->get_capability(),  16:           rtrim( $this->plugin_prefix, '-_' ),  17            array( $this, 'the_menu_page' )admin\class-shortcodes-ultimate-admin-addons.php:  24        $this->add_submenu_page(  25:           rtrim( $this->plugin_prefix, '-_' ),  26            __( 'Add-ons', 'shortcodes-ultimate' ),
       ```
   
 * 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.

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

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Prachi Vashishtha](https://wordpress.org/support/users/prachi-vashishtha/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/plugin-compatibility-issue-with-php-8-3-8/)
 * Status: resolved