Faceted Browse error message on updating to Omeka 4

I’ve updated my development system to Omeka 4, and the Faceted Browse module to version 1.3.0.

If I go to my Faceted Browse public page I get this warning message (I have error messages turned on in my dev system):

Deprecated: Return type of FacetedBrowse\Api\Representation\FacetedBrowseFacetRepresentation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/modules/FacetedBrowse/src/Api/Representation/FacetedBrowseFacetRepresentation.php on line 18

Faceted Browse still seems to work OK - but does the above need fixing?

Thanks for noticing this. It’s an error specific to PHP 8.2. I’ve made the necessary fixes. They’ll be in the next release.

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.