Opened 10 years ago
Closed 10 years ago
#884 closed defect (bug) (duplicate)
/wp-admin/options-general.php (compat.php on line 30)
Reported by: | jasonmader | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | General | Keywords: | |
Cc: |
Description
"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"> <?php 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>'; endfor; ?> </select></td> </tr>
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)
This ticket was mentioned in Slack in #meta by sam. View the logs.
10 years ago
#3
@
10 years ago
- Resolution set to duplicate
- Status changed from new to closed
Hello jasonmader,
this trac is for reporting bugs around the wordpress.org site, not WordPress itself.
It looks like we already have a ticket for your issue, see https://core.trac.wordpress.org/ticket/30802. 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.
Iʼve traced the hang to: