• Resolved flotterotto

    (@flotterotto)


    hello,

    since version 3.5.14 i got a white screen.

    i found, that the problem is in file /class/subscription.php:

    public function handle_non_recur_subs() {
    if ( ! wp_next_scheduled( ‘non_recur_subs_daily’ ) ) {
    // wp_schedule_event( time(), ‘daily’, ‘non_recur_subs_daily’ );
    }
    }

    if I deactivate the line wp_schedule_event…., the website works fine

    I thought, that the problem is, that CRON was deactivated in config.php

    But when I remove this line

    // define(‘DISABLE_WP_CRON’, true);

    in wp_config,

    I still have the same problem.

    I do not need wp_schedule_event,
    but it would be fine, if the problem could be resolved

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @flotterotto
    Firstly sorry for the late response.

    Do you have the White screen during purchasing the subscription throughout the PayPal payment? Would you mind sharing any screenshots or screencasts/video (you can use loom) of the scenario? It would be helpful to determine the scenario. I’m sorry I couldn’t reproduce the issue on my side.

    Noteworthy wp_schedule_event still works even after disabling the WP Cron. So I’m not sure why you are facing the white screen.

    Kindly be more descriptive about the issue and share any screenshots/screencast if possible.

    Thanks & regards.

    • This reply was modified 3 years, 8 months ago by MM Aurangajeb.

    Hi there,

    Due to the inactivity of the thread. I’m making this thread resolved please open a new topic if you may need further assistance.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘White screen, when calling wp_schedule_event’ is closed to new replies.