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 and osticket #92

Open
bobweston opened this issue Aug 3, 2022 · 0 comments
Open

php 8 and osticket #92

bobweston opened this issue Aug 3, 2022 · 0 comments

Comments

@bobweston
Copy link

bobweston commented Aug 3, 2022

This probably goes without saying... but make sure you check your osticket plugins when upgrading to php 8. Before upgrading, please remove the s3 storage plugin. Disabling it alone won't be enough. If you don't do this, you'll end up with a blank screen on upgrading. There is an upgraded version of the plugin available that does work with php 8. But you need to upgrade this plugin before upgrading the application.

Leaving this note here in the event anyone else runs into this error.

If you login to the container and tail the php logs in /var/log/php/error.log, you'll see this:

/var/log/php # tail -f error.log
[03-Aug-2022 17:15:00 UTC] PHP Fatal error:  Declaration of S3StorageBackend::read($bytes = false) must be compatible with FileStorageBackend::read($amount = 0, $offset = 0) in phar:///data/upload/include/plugins/storage-s3.phar/storage.php on line 39
[03-Aug-2022 17:20:00 UTC] PHP Fatal error:  Declaration of S3StorageBackend::read($bytes = false) must be compatible with FileStorageBackend::read($amount = 0, $offset = 0) in phar:///data/upload/include/plugins/storage-s3.phar/storage.php on line 39
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

1 participant