[wp-trac] [WordPress Trac] #58461: WP Rest API List Categories Endpoint - Uncaught DivisionByZeroError in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php:351

WordPress Trac noreply at wordpress.org
Tue Jun 6 04:03:26 UTC 2023


#58461: WP Rest API List Categories Endpoint - Uncaught DivisionByZeroError in wp-
includes/rest-api/endpoints/class-wp-rest-terms-controller.php:351
--------------------------+------------------------------
 Reporter:  mcmwebsol     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  6.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by nihar007):

 I tried to recreate the issue in WordPress 6.2.2
 1: I activated Twenty Twenty-Two theme
 2: I deleted all plugins from setup

 But didn't see any issue.
 Although I added a diff here for $per_page variable

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58461#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list