• 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

    This issue seems to be related to deprecated functionality or compatibility issues in the above files there are other files as well. 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

    (@stevejburge)

    Thanks for reporting this @prachi-vashishtha. We have this on our radar and will fix this in the next release of PublishPress Revisions.

    Plugin Author Kevin Behrens

    (@kevinb)

    @prachi-vashishtha Do you have a stack trace tying those Revisions plugin lines to the PHP warning? If not, how did you make the connection? My code review shows that none of them are actually instances of passing a null value into the function. If the issue is repeatable only with the Revisions plugin activated, please let me know what site access seems to trigger it, and what other plugins you are running.

    Please also tell us your Revisions plugin version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.