• Resolved Prachi Vashishtha

    (@prachi-vashishtha)


    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



    admin.php:

       313          // LiteSpeed has a generic problem with terminating cron jobs

       314:         if (isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false) {

       315              if (!is_file(ABSPATH.'.htaccess') || !preg_match('/noabort/i', file_get_contents(ABSPATH.'.htaccess'))) {

      1518  

      1519:             if (false !== strpos($file_path, '..')) {

      1520                  error_log("UpdraftPlus_Admin::do_updraft_download_backup : invalid file_path: $file_path");

      1528  

      1529:             if (!empty($file_path) && strpos(realpath($fullpath), realpath($updraftplus->backups_dir_location())) === false) {

      1530                  error_log("UpdraftPlus_Admin::do_updraft_download_backup : invalid fullpath: $fullpath");

    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)
  • Hi there,

    Thank you for highlighting this, I have passed to information to the developers to review.

    Best regards,

    Nick

Viewing 1 replies (of 1 total)

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