Title: usort() error
Last modified: August 9, 2021

---

# usort() error

 *  [Jonathan Jewell](https://wordpress.org/support/users/hyperpolymath/)
 * (@hyperpolymath)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/usort-error/)
 * I get this unusual error from PHP:
 * usort(): Returning bool from comparison function is deprecated, return an integer
   less than, equal to, or greater than zero
 * I have included in the link section above a snipboard.io link since I cannot 
   seem to add an image here, but I am wondering if the term ‘deprecated’ next to
   the notice I’m getting associated with the query, means the *plugin itself* is
   deprecated or if this is some kind of deprecated function or code for PHP 8.0.9
   that is down to changee in that?
 * In either case, think it is worth mentioning if you are continuing development.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusort-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘usort() error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/uber-media_8f857e.svg)
 * [Media Manager Plus](https://wordpress.org/plugins/uber-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uber-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uber-media/)
 * [Active Topics](https://wordpress.org/support/plugin/uber-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uber-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uber-media/reviews/)

## Tags

 * [deprecation](https://wordpress.org/support/topic-tag/deprecation/)
 * [usort](https://wordpress.org/support/topic-tag/usort/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jonathan Jewell](https://wordpress.org/support/users/hyperpolymath/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/usort-error/)
 * Status: not resolved