Skip to content

php 8 and osticket #92

@bobweston

Description

@bobweston

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions