Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from, be sure to visit to add the license to your account here on

Ticket: Deprecated usort() message on templates

Status Resolved
Add-on / Version Publisher 3.5.3
EE Version 6.3.2


May 05, 2022


I got this “Deprecated” message on my templates :

usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero
user/addons/publisher/Service/Entry/EntryResult.php, line 931


Not a show stopper but it is just to signal it.


BoldMinded (Brian)

May 06, 2022

What version of PHP are you running?


BoldMinded (Brian)

May 06, 2022

I had to google this one. Scroll down to line 958 of that file and change it to this:

return (int) $b[$this->_usort_use] <=> (int) $a[$this->_usort_use];

See if that works. It’s changing < to <=>



May 06, 2022

Thanks, it seems to fix it.

PHP 8.0.1

Login to reply