WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#53707 reopened defect (bug)

Critical error E-Mail is not sent out when trying to update to WordPress 5.8 class-wp-filesystem-direct.php on line 76

Reported by: ipajen Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.8
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

Fatal error when trying to update to WordPress 5.8 from (5.7.2) with PHP8. Tried to disable all plugins and same problem on two different websites (same hosting), also no e-mail is sent out about critical error to site admin e-mail.

Update WordPress
Downloading update from https://downloads.wordpress.org/release/sv_SE/wordpress-5.8.zip
The authenticity of wordpress-5.8.zip could not be verified as no signature was found.
Unpacking the update…

Fatal error: Maximum execution time of 30 seconds exceeded in /home/khaotiptha/domains/khaotipthai.se/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 76
There has been a critical error on this website. Please check your site admin email inbox for instructions.

`

Change History (4)

#1 @desrosj
5 months ago

  • Component changed from General to Upgrade/Install
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @ipajen, Welcome to Trac!

It seems like your server experienced a timeout when trying to upgrade. This request is better suited for the WordPress.org support forums, as this is not a bug in WordPress itself.

This forum post has all the information you need to fix this issue, and some other information specific to the 5.8 update.

#2 @ipajen
5 months ago

  • Resolution invalid deleted
  • Severity changed from major to minor
  • Status changed from closed to reopened
  • Summary changed from Fatal error when trying to update to WordPress 5.8 class-wp-filesystem-direct.php on line 76 to Critical error E-Mail is not sent out when trying to update to WordPress 5.8 class-wp-filesystem-direct.php on line 76

@desrosj thanks, hostning increased the Maximum Execution time and it worked to update, but When this error accourd it still dident send out a email about critical error, (When i make another critical error from a bad plugin it send out the enail) so i still believe There is a bug about email is not sent out When ciritical error in the update process.

#3 @desrosj
5 months ago

  • Resolution set to invalid
  • Status changed from reopened to closed

It's likely that you did not receive the email because there was an incomplete update. Please read through the post linked above and find the section about manually upgrading.

If you need more assistance, please open a support forums ticket.

#4 @ipajen
5 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

@desrosj The update issue it self is solved. But my bug report is about The text "Please check your site admin email inbox for instructions." should not be printed if code cant handle the exception and send the e-mail? Best would be that e-mail would be sent out as excepted from the printed message. So the bug still is there. Thank you.

Note: See TracTickets for help on using tickets.