You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to issue fixed by #178 , the following exception is thrown in my Sulu project:
<b>Fatal error</b>: During inheritance of JsonSerializable: Uncaught ErrorException: Return type of Massive\Bundle\SearchBundle\Search\QueryHit::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/massive/search-bundle/Search/QueryHit.php:70
Should the #[\ReturnTypeWillChange] be added there as well?
The text was updated successfully, but these errors were encountered:
dfsoeten
changed the title
JsonSerializable deprecation is thrown on Massive\Bundle\SearchBundle\Search\QueryHit
JsonSerializable fatal error is thrown on Massive\Bundle\SearchBundle\Search\QueryHit
Jan 23, 2025
Similar to issue fixed by #178 , the following exception is thrown in my Sulu project:
Should the
#[\ReturnTypeWillChange]
be added there as well?Sulu version:
2.6.5
PHP:
PHP 8.3.12
FrankenPHP:
FrankenPHP v1.2.5 PHP 8.3.12 Caddy v2.8.4 h1:q3pe0wpBj1OcHFZ3n/1nl4V4bxBrYoSoab7rL9BMYNk=
The text was updated successfully, but these errors were encountered: