Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Deprecated Warning: uasort(): Returning bool from comparison function is deprecated #3075

Closed
burhandodhy opened this issue Oct 21, 2022 · 0 comments · Fixed by #3091
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@burhandodhy
Copy link
Contributor

Describe the bug

ElasticPress is giving the deprecated warning when running it on PHP 8.

uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero

Steps to Reproduce

  1. Install ElasticPress on PHP 8 environment.
  2. Import WooCommerce Dummy Content.
  3. Add the Taxonomy Facet and select the clothing term.

Expected behavior

There shouldn't be any warning message.

Screenshots

image

@burhandodhy burhandodhy added the bug Something isn't working label Oct 21, 2022
@burhandodhy burhandodhy added this to the 4.4.0 milestone Oct 21, 2022
@burhandodhy burhandodhy self-assigned this Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants