• Resolved odedstr2

    (@odedstr2)


    The plugin causes some deprecation errors, as can be seen here:
    https://plugintests.com/plugins/wporg/capability-manager-enhanced/latest

    For example:
    [08-Dec-2022 17:19:32 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
    [08-Dec-2022 17:19:32 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
    [08-Dec-2022 17:19:32 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $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 /wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
    [08-Dec-2022 17:19:32 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8 deprecation errors’ is closed to new replies.