• Resolved BlackSwanDev

    (@blackswanlab)


    ip2location-country-blocker v 2.19.1 quick fix

    Hello everyone, i just updated to 2.19.1 and noticed it prints out index.php in every single post and i cannot see any archive pages. so i checked the source and found the problem. in the main plugin file (ip2location-country-blocker.php) go to line 1823 and comment this line :
    echo $GLOBALS['pagenow'];
    by adding // at the beginning of line ~>
    //echo $GLOBALS['pagenow'];

    sample code shot

    It’ll fix the issue.

    LINK TO GIT REPO

    Amirhosseinhpv,
    Thanks for reading.

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