• Resolved disturbed-pixel

    (@disturbed-pixel)


    Hey,

    I’ve just been testing this plugin on php 8.1 and i’m getting 1000’s of deprecated notices.

    Version 1.3.0

    [03-Nov-2022 09:18:23 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in xxxxxx\wp-content\plugins\tinywp-mobile-detect\inc\TinyWP_Mobile_Detect.php on line 1460

    Is resolving this deprecation notice being implemented in the next release? and is there a rough ETA?

    Thank you for your time

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pothi Kalimuthu

    (@pothi)

    Hello,

    I didn’t test it out with PHP 8.1 as I have been running on limited resources. Thanks for testing it out.

    The deprecated notice seems to come from the upstream Mobile Detect library. It was fixed by the author long ago. I didn’t push the update. My apologies.

    It’s fixed with version 1.4.1.

    Thanks again,
    Pothi.

    Thread Starter disturbed-pixel

    (@disturbed-pixel)

    Thanks Pothi, that was very quick!

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