Error when doing wp_cron
-
Hi,
I’m getting the following error when doing wp-cron:
[28-Jan-2020 21:27:28 UTC] PHP Fatal error: Uncaught Error: Class 'Cherry_RE_Options_Page' not found in /wp-content/plugins/cherry-real-estate/cherry-real-estate.php:581 Stack trace: #0 /wp-includes/class-wp-hook.php(288): Cherry_Real_Estate->settings_link(Array, 'cherry-real-est...', NULL, 'all') #1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #2 /wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-callables.php(343): apply_filters('plugin_action_l...', Array, 'cherry-real-est...', NULL, 'all') #3 /wp-includes/class-wp-hook.php(288): Automattic\Jetpack\Sync\Modules\Callables->set_plugin_action_links(Object(WP_Screen)) #4 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #5 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /wp-admin in /wp-content/plugins/cherry-real-estate/cherry-real-estate.php on line 581
It’s trying to access the
Cherry_RE_Options_Page
class, but the file containing the class is not loaded when not in admin page, e.g. when WordPress is doing cron.
- The topic ‘Error when doing wp_cron’ is closed to new replies.