577行改成如下:
if ( ! is_wp_error( $category ) && ! empty( $category[0] ) ) {
错误原因是代码没对异常进行处理,属于BUG,有渠道的话可以给开发者反馈下。
有奖参与论坛社区问答