• I keep getting this error message when I click on Users Online when the page shows.
    ——————————–

    WordPress database error: [Table ‘*****_wrdp1.ip2nationCountries’ doesn’t exist]
    SELECT c.country, c.code FROM ip2nationCountries c, ip2nation i WHERE i.ip < INET_ATON(‘70.130.244.220’) AND c.code = i.country ORDER BY i.ip DESC LIMIT 1
    ———————————-
    Can anyone show me how to get rid of this
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • I started getting that error when I installed the Bad Behaviour plugin. When I deactivate it the error goes away. I’d like to get this resolved, too.

    nwofearless

    (@nwofearless)

    I got the same error when recently upgrading, so i uninstalled the plugin completely and then re-uploaded and re-installed. I was getting the same error and googled for it, but found nothing that helped.

    Eventually managed to edit the wp-useronline.php file and add // to comment out the function that was looking for the ip2nation convertion, the line has a comment preceding it now: $origin = get_user_origin($ip);

    ### Function: Output User’s Country Flag/Name
    function ip2nation_country($ip, $display_countryname = 0) {
    //$country_mirror = ‘https://lesterchan.net/wp-content/themes/lesterchan/images/flags&#8217;;
    $country_mirror = plugins_url(‘wp-useronline/images/flags’);
    $country_imgtype = ‘png’;
    //$origin = get_user_origin($ip);

    Seemed to work, although now without little nation flags, if you can live with that then that works.

    I deactivated “Bad Behavior” and it worked without any problems.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Message with WP-Useronline when you click on the useronline page’ is closed to new replies.