[wp-trac] [WordPress Trac] #55711: set_time_limit( 300 ); in Class WP_Upgrader causes crashes in PHP8 when hosting disables it

WordPress Trac noreply at wordpress.org
Wed May 11 10:14:17 UTC 2022


#55711: set_time_limit( 300 ); in Class WP_Upgrader causes crashes in PHP8 when
hosting disables it
-----------------------------+-----------------------------
 Reporter:  theode           |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  5.9.3
 Severity:  critical         |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 Some hosting providers disable set_time_limit(). That is causing a fatal
 error when installing plugins, themes and import files under PHP8.

 My Suggestion is to prefix them all with an @ or remove them entirely.

 Reproducing. Not sure how to deactivate it for PHP8, but is an issue.

 Can't find a ticket, already stating this.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55711>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list