Opened 9 years ago

Closed 9 years ago

#884 closed defect (bug) (duplicate)

/wp-admin/options-general.php (compat.php on line 30)

Reported by: jasonmader's profile jasonmader Owned by:
Milestone: Priority: normal
Component: General Keywords:


"PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /wordpress/wp-includes/compat.php on line 30"

When visiting the options-general page, there is the timeout error above. The last thing generated on the page is:

<td><select name="start_of_week" id="start_of_week">
for ($day_index = 0; $day_index <= 6; $day_index++) :
	$selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : '';
	echo "\n\t<option value='" . esc_attr($day_index) . "' $selected>" . $wp_locale->get_weekday($day_index) . '</option>';

If line 30 is to be believed, the time is spent in the _mb_substr() function,

preg_match_all( '/./us', $str, $match );

Change History (3)

#1 @jasonmader
9 years ago

Iʼve traced the hang to:

$translations = wp_get_available_translations();

This ticket was mentioned in Slack in #meta by sam. View the logs.

9 years ago

#3 @ocean90
9 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Hello jasonmader,

this trac is for reporting bugs around the site, not WordPress itself.

It looks like we already have a ticket for your issue, see It would be great if you can give us some more details on the linked ticket. Thanks!

Note: See TracTickets for help on using tickets.