• Resolved minhazulOO7

    (@minhazul007)


    Please check,

    Below are the last 7 updates ran on this site. Includes plugins and themes, both automatically updated and manually updated.

    Fatal error: Uncaught Error: Call to undefined function wp_next_schedule() in /location/example.com/wp-content/plugins/companion-auto-update/cau_functions.php:787 Stack trace: #0 /location/example.com/wp-content/plugins/companion-auto-update/companion-auto-update.php(294): cau_fetch_log('7') #1 /location/example.com/wp-admin/includes/template.php(1389): cau_widget('', Array) #2 /location/example.com/wp-admin/includes/dashboard.php(246): do_meta_boxes(Object(WP_Screen), 'normal', '') #3 /location/example.com/wp-admin/index.php(177): wp_dashboard() #4 {main} thrown in /location/example.com/wp-content/plugins/companion-auto-update/cau_functions.php on line 787

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    I have disabled CAU in my site. Looking for an alternative plugin.

Viewing 15 replies - 1 through 15 (of 15 total)
  • I’m seeing the same thing under Update Log on the WP dashboard.

    Almost the same error message here:

    Uncaught Error: Call to undefined function wp_next_schedule() in /location/example.com/httpdocs/wp-content/plugins/companion-auto-update/cau_functions.php:787
    Stack trace:
    #0 /location/example.com/wp-content/plugins/companion-auto-update/companion-auto-update.php(294): cau_fetch_log(‘7’)
    #1 /location/example.com/wp-admin/includes/template.php(1389): cau_widget(”, Array)
    #2 /location/example.com/wp-admin/includes/dashboard.php(246): do_meta_boxes(Object(WP_Screen), ‘normal’, ”)
    #3 /location/example.com/wp-admin/index.php(177): wp_dashboard()
    #4 {main}
    thrown

    Don’t know if this is related to it but the dashboard looks broken, i.e. not all boxes are shown (the last one is the Update Log box) and show/hide is disabled for all boxes.

    Plugin version 3.7.1.
    WordPress version 5.5.3

    Appendix:
    I just observed that the dashboard is back to normal if the plugin is deactivated so it seems that the two things are related.

    I also get the same error message with CAU v3.7.1 installed: ‘There has been a critical error on your website. Please check your site admin email inbox for instructions.’
    And yes, the dashboard seems broken by not showing all boxes.
    When I use the WP plugin Rollback to install the previous version (v3.7.0) of CAU, everything is back to normal.

    WordPress v5.5.3

    Exact same problem – Details for newbies: There is a plugin Companion Auto Update. It normally works very well. With this bug, it allowed me to login, but after login threw up an error. If you go to a page and then EDIT that page, and then go into plugins, disable CAU. To be safe, after that log out, and then back in. Mine is operating perfectly after the disable. I like CAU, so didn’t delete it. I am hoping this bug is fixed in the next month or so.
    WordPress 5.5.3 running Twenty Sixteen theme.

    Maybe it’s “wp_next_scheduled()” instead of “wp_next_schedule()”.

    Changing each instance of wp_next_schedule( to wp_next_scheduled( in wp-content/plugins/companion-auto-update/cau_functions.php seems to do the trick for now. Thanks @hansendo.

    I have the same issue on my site, studboo.com ??

    Below are the last seven updates ran on this site. Includes plugins and themes, both automatically updated and manually updated.

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Same here:

    PHP Fatal error: Uncaught Error: Call to undefined function wp_next_schedule() in /wp-content/plugins/companion-auto-update/cau_functions.php:317

    Plugin Author Papin Schipper

    (@papin)

    Oof, that’s bad.. How did I miss that one? Anyway, It’s fixed in version 3.7.1.1 ??

    Thread Starter minhazulOO7

    (@minhazul007)

    @papin just updated CAU. Yes! It’s fixed! Thanks a lot! ^_^ PLEASE FROM NOW ON THOROUGHLY CHECK YOUR CODE BEFORE PUBLISHING! Godspeed.

    Thanks @papin for the quick fix and very handy plugin! Your work is appreciated.

    Plugin Author Papin Schipper

    (@papin)

    @minhazul007 and @stevengliebe no problem!

    It was my first time rushing an update and it will be my last, next time even the smallest patch will have to be tested for a while before being pushed live ??

    @papin Thank you from my side, too. Life provides many opportunitites for learning and as the proverb says: “Strength lies in calmness” ?? Keep up your good work and thanks for sharing it with the WP community.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘CAU 3.7.1 Fatal Error’ is closed to new replies.