Organizr icon indicating copy to clipboard operation
Organizr copied to clipboard

Does not run on PHP 8.1

Open aniqueta opened this issue 1 year ago • 0 comments

Organizr Version: 2.1.2330
Branch: v2-master
WebServer: nginx
Operating System: macOS

Problem Description:

Organizr does not work using PHP 8.1, but does with PHP 8.0. Fresh install has same issue.


Reproduction Steps:

Update to PHP 8.1 using existing installation and/or do new installation on system using PHP 8.1.


Errors on screen? If so paste here:


Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1911

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1922

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetSet($key, $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 /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1934

Deprecated: Return type of Tightenco\Collect\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1949

Deprecated: Return type of Tightenco\Collect\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1890

Deprecated: Return type of Tightenco\Collect\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1869

Deprecated: Return type of Tightenco\Collect\Support\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/organizr/api/vendor/tightenco/collect/src/Collect/Support/Collection.php on line 1838

aniqueta avatar Sep 03 '22 22:09 aniqueta