• Resolved dimal

    (@dimalifragis)


    Hi,

    We found out the hard way (disabling one by the plugins) that those come from your plugin when using PHP 8.1.x.

    [25-Jun-2023 14:10:42 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/wp-includes/functions.php on line 2165

    [25-Jun-2023 14:10:42 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/wp-includes/functions.php on line 7053

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author BasePress

    (@codesavory)

    Thank you for sending in this suggestion. This will be improved in the next version of the BasePress plugin.

    Thread Starter dimal

    (@dimalifragis)

    This was not a suggestion but some notice of WP, because of php 8.1 (almost two years old now php 8.1).

    I hope an update will be out soon for Basepress.

    Thread Starter dimal

    (@dimalifragis)

    Not resolved in todays update. Please to NOT mark all issues as resolved without been so. Makes hard for us to follow.

    With PHP 8.2:
    PHP Deprecated: Implicit conversion from float 546.5 to int loses precision in /home/xxxxx/public_html/wp-content/plugins/basepress/includes/class-basepress-search.php on line 809

    • This reply was modified 1 year, 3 months ago by jmruas.
    • This reply was modified 1 year, 3 months ago by jmruas. Reason: Hide link
    Plugin Author BasePress

    (@codesavory)

    We have made an update to the plugin today. This should fix.

    Please update to latest version of this plugin.

    Thread Starter dimal

    (@dimalifragis)

    Not fixed, i’,m afraid.

    [17-Aug-2023 07:17:07 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/wp-includes/functions.php on line 2165

    [17-Aug-2023 07:17:07 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/wp-includes/functions.php on line 7053

    Plugin Author BasePress

    (@codesavory)

    An update to the plugin is released today. Please update to latest version and these errors should be resolved. ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8.1’ is closed to new replies.