Fatal error when trying to send update emails
-
Wordpress: 6.0.1
CAU: 3.8.6Seems like the plugin tries to use the WordPress get_plugins() function, without requiring the necessary file wp-admin/includes/plugin.php first (as the already required update.php does not seem to do it by itself).
[28-Aug-2022 18:05:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_plugins() in /wp-admin/includes/update.php:378 Stack trace: #0 /wp-content/plugins/companion-auto-update/cau_emails.php(239): get_plugin_updates() #1 /wp-content/plugins/companion-auto-update/cau_emails.php(9): cau_list_plugin_updates() #2 /wp-includes/class-wp-hook.php(307): cau_check_updates_mail() #3 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /wp-includes/plugin.php(524): WP_Hook->do_action(Array) #5 /wp-cron.php(138): do_action_ref_array('cau_set_schedul...', Array) #6 {main} thrown in /wp-admin/includes/update.php on line 378
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal error when trying to send update emails’ is closed to new replies.