I run OST v1.17.5 on
MySQL Version 8.0.37
PHP Version 8.2.18

I saw a lot of below messages in the error.log on server.
Is it normal?

[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of BaseList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 101
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of BaseList::count($mode = COUNT_NORMAL) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 106
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ListObject::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 220
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ListObject::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 198
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ListObject::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 207
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ListObject::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.util.php on line 227
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ModelMeta::offsetExists($field) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.orm.php on line 242
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ModelMeta::offsetGet($field) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.orm.php on line 236
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ModelMeta::offsetSet($field, $what) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.orm.php on line 239
[23-May-2024 01:44:48 UTC] PHP Deprecated:  Return type of ModelMeta::offsetUnset($field) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /ost175/include/class.orm.php on line 245

    stelaso

    Configure your PHP to only log actual errors and ignore warnings and deprecations.

    Cheers.

    Also the download page for osTicket stats that v1.17.5 is PHP 8.0-8.1.
    You are running PHP 8.2...

    Write a Reply...