• Resolved Peter Smits

    (@psmits1567)


    The plugin uses an old code which causes the error below

    [23-Oct-2023 10:41:37 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1980

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ip2location

    (@ip2location)

    It has been fixed in version 2.33.1.

    Thread Starter Peter Smits

    (@psmits1567)

    Thanks will download and install this patch

    I am running version 2.33.5 and the error is still there.

    PHP Version is 8.1.22

    PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1974

    Plugin Author ip2location

    (@ip2location)

    @dragon013 Fixed in version 2.33.6.

    I just updated and it’s stil there

    Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-content/plugins/ip2location-country-blocker/ip2location-country-blocker.php on line 1974
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error in debug.log deprecated’ is closed to new replies.