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

php 8.1 compatibility #152

Open
linuxd3v opened this issue Jan 29, 2022 · 1 comment
Open

php 8.1 compatibility #152

linuxd3v opened this issue Jan 29, 2022 · 1 comment

Comments

@linuxd3v
Copy link

Currently encountering fatal errors while using with php 8.1:

ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: During inheritance of IteratorAggregate: Uncaught ErrorException: Return type of Essence\Media::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site/vendor/essence/essence/lib/Essence/Media.php:259

ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: During inheritance of JsonSerializable: Uncaught ErrorException: Return type of Essence\Media::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site/vendor/essence/essence/lib/Essence/Media.php:271

@felixgirault
Copy link
Member

Hello,
Sorry I do not have much time these days to work on essence, would you be ok to submit a pull request ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants