Search results

  1. A

    Need help with PHP 8.1 and usort() function

    I have extensions in Magento 2 with deprecated function "main.CRITICAL: Exception: Deprecated Functionality: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero" how to modify this function to make it works in PHP 8.1...