PHP 8 deprecation errors | WordPress.org

[ad_1]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer