[wp-trac] [WordPress Trac] #32245: wp_list_categories and maximum execution time error

WordPress Trac noreply at wordpress.org
Sun May 3 18:06:55 UTC 2015


#32245: wp_list_categories and maximum execution time error
--------------------------+-----------------------------
 Reporter:  hadi060       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.2.1
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 Hi.
 I'm facing a problem when using wp_list_categories function. Website take
 a long time to load, and this error message appears in most of the time:

 {{{
 Fatal error: Maximum execution time of 30 seconds exceeded in
 mywebsite.com/wp-includes/taxonomy.php on line 3958.
 }}}

 I'm using the function as follows:


 {{{
 wp_list_categories('orderby=id&hide_empty=0&depth=1&title_li=&use_desc_for_title=1&child_of=1');
 }}}

 It was working just fine, until the last WordPress update as I think.
 As I see, it's the same problem with get_terms posted here:

 https://core.trac.wordpress.org/ticket/32144

 and there are many website look having the same issue when searching on
 google for: "wp-includes/taxonomy.php on line 3958".

 Search results:
 http://goo.gl/vQSzQo

 Hope you fix that, and sorry for my bad English.

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


More information about the wp-trac mailing list