• Resolved andreu

    (@andreu)


    Hello,

    I’m having a lot of Notice in my log since I installed your plugin. Do you know which can be the problem?

    Thank you

    [02-Oct-2015 16:01:33] PHP Notice: GeoIP Detection Plugin: geoip_detect2_get_info_from_ip() was called <strong>incorrectly</strong>. $skipCache has been renamed to $options. Instead of TRUE, now use "array('skipCache' => TRUE)". Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.5.0.) in /public_html/domain_com/wp-includes/functions.php on line 3622

    https://www.ads-software.com/plugins/geoip-detect/

Viewing 1 replies (of 1 total)
  • Plugin Author Benjamin Pick

    (@benjamin4)

    No, this is only a deprecation notice: instead of writing geoip_detect2_get_info_from_ip($ip, $locales, TRUE);
    you should now write
    geoip_detect2_get_info_from_ip($ip, $locales, array(‘skipCache’ => TRUE));

    But the old writing should continue to work until version 3.0 whenever it comes.

Viewing 1 replies (of 1 total)
  • The topic ‘Error in my log’ is closed to new replies.