Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Proxy & VPN Blocker

    (@rickstermuk)

    Hi lazyym,

    This isn’t normal, can you tell me if you were seeing wp-cron.php showing up in your logs on proxycheck.io, or how you concluded that wp-cron is being blocked by the plugin if it isn’t showing up in the logs there?

    I will also publish an update that contains some updated code for this wp-cron and a unrelated (but shares the same part of code) fix for people using matomo analytics plugin which may have also been blocked when requests are coming from the servers own IP address. It is possible that this is also your issue and the servers own IP address is being caught up in the check.

    Thank you,

    Rick – Proxy & VPN Blocker

    Thread Starter lazyym

    (@lazyym)

    I am not seeing wp-cron in logs. My developer is debugging on my site. I’ll give you an update when I have it. Thank you for quick response.

    Thread Starter lazyym

    (@lazyym)

    The fix for this for me included two things. One is adding

    define(‘ALTERNATE_WP_CRON’, true);

    to wp-config.php and adding a function of

    add_filter( ‘action_scheduler_pastdue_actions_check_pre’, ‘__return_false’ );

    to functions.php

    All seems well now even with the plugin back on.

    Thread Starter lazyym

    (@lazyym)

    And that fix ended up breaking other things….. Advise against it.

    Ended up being related to SSL affecting the cron.

    Plugin Author Proxy & VPN Blocker

    (@rickstermuk)

    Hello,

    May I ask if the original issue is resolved? If I understand your replies, It seems to have been issues with your site/SSL and the plugin is functioning now?

    Thread Starter lazyym

    (@lazyym)

    The issue is resolved and was not the plugins fault. It is working great for us now after defining rules with proxycheck service. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Breaks WP Cron’ is closed to new replies.