White screen, when calling wp_schedule_event
-
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 resolvedThanks for your help
- The topic ‘White screen, when calling wp_schedule_event’ is closed to new replies.