BPS Notice: DISABLE_WP_CRON / plat-cron.php Quarantine

Home Forums BulletProof Security Pro BPS Notice: DISABLE_WP_CRON / plat-cron.php Quarantine

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45866
    bulletproof
    Participant

    1- Getting the Error:

    BPS Notice: DISABLE_WP_CRON constant is in use
    The WordPress DISABLE_WP_CRON constant is in use, which disables all Standard WP Crons. Several BPS Pro features use Standard WP Crons. If a plugin is being used that disables Standard WP Crons and uses Direct Cron Jobs instead or your Web Host is disabling Standard WP Crons then no further action is required by you and you can safely dismiss this Dismiss Notice.
    To Dismiss this Notice click the Dismiss Notice button below. To Reset Dismiss Notices click the Reset|Recheck Dismiss Notices button on the Display & Alert Options page.

    2- Seeing that plat-cron.php is being caught in Quarantine.

    3- BPS Pro Plugin not recognizing available update (auto or Manual Check): 17.4 -> 17.5

    Environment is Hosted WordPress, which I am guessing is the issue.

    Looking for solutions.

    Will BPS Pro work with plat-cron.php?

    What would be the steps to make this work? I did not find anything when searching.

    Thanks!

    #45867
    AITpro Admin
    Keymaster

    Go to Quarantine > restore the plat-cron.php file in Quarantine > copy the entire path to the plat-cron.php file into the “Exclude Folders|Files from being checked by AutoRestore” text box. Choose “Exclude an Individual File. Click the Exclude Folder|File button.

    Note: you can get the full path to the plat-cron.php file from the Quarantine Log.

    Example: /home/full-path-to-the-file/plat-cron.php

    #45868
    bulletproof
    Participant

    I know how to do a Quarantine Restore. That wasn’t my question though…

    To try to be more specific:

    1. IS BPS Pro is compatible with plat-cron?
      It appears that GDMW disabled wp cron in favor of using plat cron instead (I suspect wp cron may not be re-activatable).
    2. IF BPS Pro is compatible with plat cron, is there anything specific I need to do to make it work properly?
    3. IF BPS Pro is NOT compatible with plat cron, what other features of BPS Pro might not function properly?
    4. Could this cron issue be the reason the Manual / Auto Update check does not see updates?
    5. How critical is this DISABLE_WP_CRON constant is in use error? Is this specific to GDMW?
    #45869
    AITpro Admin
    Keymaster

    BPS is compatible with Direct Crons, Alternative Crons and in this case I would call this an alternative custom cron. The default WP Core file for WP Crons is: wp-cron.php, which is located in the root folder of your WP installation. So calling this issue a compatibility issue is not using the best technical term or wording. I’m not exactly sure how Plat Cron is doing, but I’m going to take an educated guess – most likely they are using some code, maybe in the wp-config.php file or elsewhere to tell your website to ping the plat-cron.php file instead of the wp-cron.php file.

    GDMW hosting has limitations and restrictions. You find those known limitations/restrictions here > https://forum.ait-pro.com/forums/topic/gdmw/, but I have not checked if things have changed with GDMW hosting for years.

    Where is the plat-cron.php file being saved to? If it is the root WordPress installation folder where the wp-config.php file is then you should have full control of the file without being restricted by your GDMW hosting limitations.

    #45870
    AITpro Admin
    Keymaster

    How critical is this DISABLE_WP_CRON constant is in use error? Is this specific to GDMW?

    Disabling standard WP crons is fine as long as you are enabling some other type of crons like Direct Crons or Alternative crons. BPS and most WP plugins rely on crons to perform automation. If Plat Cron is something your GDMW hosting has created or using then you would need to ask your host what the limitations and restrictions are and how that custom cron generally works. Will be glad to help you if you can provide me with some basic information about what Plat Cron is.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.