Support » Plugin: Companion Auto Update » Errors

  • Resolved Wendihihihi

    (@wendihihihi)


    I’m getting errors like this. It’s filling my error log and my mailbox.

    Could you see if you could fix it?

    Maybe by using

    if ( ! function_exists( 'get_plugins' ) ) {
            require_once ABSPATH . 'wp-admin/includes/plugin.php';
        }
    	$allPlugins 	= get_plugins();

    Thank you

    [03-Jan-2021 09:36:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_plugins() in /home/whatever/public_html/domainname.com/wp-content/plugins/companion-auto-update/cau_functions.php:1168
    Stack trace:
    #0 /home/whatever/public_html/domainname.com/id/wp-content/plugins/companion-auto-update/companion-auto-update.php(52): cau_savePluginInformation()
    #1 /home/whatever/public_html/domainname.com/wp-includes/class-wp-hook.php(287): cau_keep_log_uptodate()
    #2 /home/whatever/public_html/domainname.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #3 /home/whatever/public_html/domainname.com/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #4 /home/whatever/public_html/domainname.com/wp-cron.php(138): do_action_ref_array(‘cau_log_updater’, Array)
    #5 {main}
    thrown in /home/whatever/public_html/domainname.com/wp-content/plugins/companion-auto-update/cau_functions.php on line 1168

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