Forum Replies Created

Viewing 15 replies - 1 through 15 (of 89 total)
  • Thread Starter dragon013

    (@dragon013)

    Just installed 4.0.8 and everything seems to be ok again. Thanks for that fast reaction!

    Thread Starter dragon013

    (@dragon013)

    Thanks!

    Thread Starter dragon013

    (@dragon013)

    Thanks a bunch, it’s working now!

    Thread Starter dragon013

    (@dragon013)

    The different mastodon servers are in various networks which I do not know exactly. The blocking of whole networks has a different reason (massive attack of crawlers). And I do not know all these ip addresses of all mastodon servers. With that I will block them until I manually add them to the whitelist which is not really a good solution since I would have to do this on a daily basis.

    So for my understanding, there is no option to whitelist via a self defined useragent ?
    I will open a ticket for a request to add Mastodon as a user agent to choose.

    Thread Starter dragon013

    (@dragon013)

    Hello,

    sure: Service #2068055

    You will find some entries with Mastodon blocked, I put these on the whitelist after first block and they did not appear after that again. But that’s laborious since there are quite a bunch of different servers running Mastodon so I wanted to solve this with whitelisting the useragent.

    Scanning through my server’s logfiles shows that not all request from mastodons bot are blocked, probably depending on ipaddress. This is why I whitelist blocked ips but as said: there are so many and an universal whitelisting would be helpful.

    I hope, this helps.

    Thread Starter dragon013

    (@dragon013)

    Hello,

    when hovering over the location icon (the little drop icon) right next to the flag, the URL of whatismyipaddress.com is showing up in the status bar of the browser. When clicking on it, there is no filtering on location but a popup is opened. Clicking on city name or ip, then filtering is happening.

    Interestingly another website has the URL of infosniper.net and I believe to remember I did set the URL somewhere but do not find it anymore. When searching in the table wp_options I find the url in the row with “slimstat_options” as option_name. So it seems it was set at some point. Maybe I am missing an option in slimstat settings ?

    Searching in the source code, the location icon has the class “whois” which seems to be linked to this code in a admin.js of slimstat:

    // // Modal Window / Whois
    jQuery(document).on("click", ".whois", function (e) {
    e.preventDefault();
    // If admin is using HTTPS and IP lookup service is not, open a new window/tab, instead of an overlay dialog
    if (document.location.href.substr(0, document.location.href.indexOf("://")).toLowerCase() == "https" && jQuery(this).attr("href").substr(0, jQuery(this).attr("href").indexOf("://")).toLowerCase() == "http") {
    window.open(jQuery(this).attr("href"), "_blank");
    return -1;
    }

    jQuery("#slimstat-modal-dialog")
    .dialog({
    dialogClass: "slimstat",
    title: jQuery(this).attr("title"),
    })
    .html('<iframe id="ip2location" src="' + jQuery(this).attr("href") + '" width="100%" height="630"></iframe>');
    jQuery("#slimstat-modal-dialog").dialog("open");
    });

    I am using https.

    The slimstat plugin is in version 5.2.13.

    I tried it with all other plugins deactivated, with private mode of browser (with no addons) and another wordpress installation to make sure that this is not caused by an addon or another plugin. But same behavior in any setting.

    Let me know if you need any other information

    • This reply was modified 10 months, 2 weeks ago by dragon013.
    • This reply was modified 10 months, 2 weeks ago by dragon013.
    Thread Starter dragon013

    (@dragon013)

    My fault! I accidentially signed up for site security, instead for anti-spam. Now all is working!

    Thread Starter dragon013

    (@dragon013)

    Hello,

    thanks for the feedback!
    It happens when I call wp_cron via a cron job. I guess because of calling it via bash and the php command like this

    php ~/<path to wordpress>/wp-cron.php 

    might cause some trouble since there is no user agent or header.

    I hope this helps!

    I also edited my post and added that I got it working when deleting the files again and choosing JSDelivr instead of MaxMind. With that, flags were back. Maybe that helps with fixing.

    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

    Getting the same error with PHP 8.1.22

    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

    Thread Starter dragon013

    (@dragon013)

    Looks good! At least I am not able to reproduce it anymore.

    Thanks for the fix and sorry for the trouble!

    • This reply was modified 3 years ago by dragon013.
    Thread Starter dragon013

    (@dragon013)

    It’s a standard wordpress installation. Server should not have any extras, at least I do not know of any. After all, it’s a hosted webserver, so not sure if there are any settings different from standard, but so far no problems.

    The “report a bug” gives:

    == Bug Report
    === Description
    Describe the bug.
    
    === Environment
    - WordPress: 6.2.1-alpha-55679
    - PHP: 8.0.28-he.0
    - Server: Apache
    - Database: mysqli (Server: 5.7.41-44-log / Client: mysqlnd 8.0.28-he.0)
    - Browser: Chrome 112.0.0.0 (Windows 10/11)
    - Theme: Login Form Child 1.0
    - MU-Plugins: None activated
    - Plugins: 
      * Better Search Replace 1.4.2
      * Childify Me 1.2.3
      * CryptX 3.3.3.2
      * IP2Location Country Blocker 2.28.9
      * Password Protect WordPress Lite 1.8.8
      * Simple Local Avatars 2.7.4
      * Slimstat Analytics 5.0.4
      * Statify 1.8.4
      * Statify Filter 1.6.2
      * Statify – Extended Evaluation 2.6.3
      * Stream 3.9.2
      * WordPress Beta Tester 3.3.7
      * WP Debugging 2.11.20.4
      * WP Word Count 3.2.4
    
    === Steps to Reproduce
    1. 
    x. 🐞</img> Bug occurs.
    
    === Expected Results
    1.  ✅</img> What should happen.
    
    === Actual Results
    1.  ❌</img> What actually happened.
    


    I noticed that I got 2 errors with the non-develop version of your plugin. With the develop version I get one, in a different location, I think. Here is, what I got (with version ….4):

    Fatal error: Uncaught ValueError: 
    Path cannot be empty in /<path to wp>/wp-content/plugins/wp-debugging-develop/vendor/norcross/debug-quick-look/includes/parser.php:68 
    Stack trace: 
    #0 /<path to wp>/wp-content/plugins/wp-debugging-develop/vendor/norcross/debug-quick-look/includes/parser.php(68): file('', 6) 
    #1 /<path to wp>/wp-content/plugins/wp-debugging-develop/vendor/norcross/debug-quick-look/includes/parser.php(51): DebugQuickLook\Parser\parse_debug_file('') 
    #2 /<path to wp>/wp-content/plugins/wp-debugging-develop/vendor/norcross/debug-quick-look/includes/actions.php(59): DebugQuickLook\Parser\run_parse() 
    #3 /<path to wp>/wp-includes/class-wp-hook.php(308): DebugQuickLook\Actions\run_quicklook_action('') 
    #4 /<path to wp>/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 
    #5 /<path to wp>/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
    #6 /<path to wp>/wp-admin/admin.php(175): do_action('admin_init') 
    #7 /<path to wp>/wp-admin/index.php(10): require_once('<path to wp>') 
    #8 {main} thrown in /<path to wp>/wp-content/plugins/wp-debugging-develop/vendor/norcross/debug-quick-look/includes/parser.php on line 68
    
    Thread Starter dragon013

    (@dragon013)

    Hello,

    just installed 5.0.4 and tested – all seems fine now. Thanks!

Viewing 15 replies - 1 through 15 (of 89 total)