Update function on Wordpress crashes

my update function on WordPress crashes intermittingly and have to open the site via local to be able to continue working on the site, this happens every time and is quite annoying

Hey @magoosh - Welcome to the Local Community Forums!

Can you describe in a little more detail where you are encountering this error? Do you mean when you log into the WordPress admin and then try to upgrade the version of WordPress?

If that’s the case, that sounds like maybe a PHP fatal error is preventing WordPress from upgrading. Some things to consider:

  1. There may be issues between the plugin or theme code and the version of PHP. You might try downgrading to an older version of PHP (like maybe a 7.x version) before trying to upgrade WordPress
  2. There might be issues with some of the plugins or theme on the site and the latest version of WordPress. You might try disabling the plugins and change to a default theme before upgrading the version of WP.
  3. There might be more information within the site’s PHP error log. To view the log, navigate to the Local Sites/<sitename>/logs/php/error.log file and see what kinds of entries are in there. Reviewing those errors will likely give you clues as to what’s failing and why.

Hope that helps point you in the right direction! Let us know what you find!