Deprecated: Return type of Inspekt\Cage::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 113
Deprecated: Return type of Inspekt\Cage::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 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 141
Deprecated: Return type of Inspekt\Cage::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 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 167
Deprecated: Return type of Inspekt\Cage::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 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 128
Deprecated: Return type of Inspekt\Cage::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 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 154
Deprecated: Return type of Inspekt\Cage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 179
Deprecated: ArrayObject::__construct(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class constraints and invariants in /home/rosengar/Lib/inspekt/src/Inspekt/Inspekt.php on line 343
Deprecated: ArrayObject::__construct(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class constraints and invariants in /home/rosengar/Lib/inspekt/src/Inspekt/Inspekt.php on line 343
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, ArrayObject given in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php:1013
Stack trace:
#0 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(1013): array_key_exists('email_addresses', Object(ArrayObject))
#1 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(987): Inspekt\Cage->getValueRecursive(Array, Object(ArrayObject))
#2 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(470): Inspekt\Cage->getValue('email_addresses...')
#3 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(607): Inspekt\Cage->getValueOrNull('/email_addresse...')
#4 /home/rosengar/Lib/inspekt/Examples/formtest.php(35): Inspekt\Cage->testEmail('/email_addresse...')
#5 {main}
thrown in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 1013