Title: Deprecated codes for PHP 8.1
Last modified: February 25, 2023

---

# Deprecated codes for PHP 8.1

 *  Resolved [roadlink](https://wordpress.org/support/users/roadlink/)
 * (@roadlink)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/deprecated-codes-for-php-8-1/)
 * Hi there,
   I have these issues.
 * I hope you can fix them.
 *     ```wp-block-code
       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	1	
       wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php:133
       Plugin: capability-manager-enhanced
   
   
       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	1	
       wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php:98
       Plugin: capability-manager-enhanced
   
   
       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	1	
       wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php:79
       Plugin: capability-manager-enhanced
   
   
       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	1	
       wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php:143
       Plugin: capability-manager-enhanced
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/deprecated-codes-for-php-8-1/#post-16508611)
 * Hi [@roadlink](https://wordpress.org/support/users/roadlink/)
 * It’s just notice. You can ignore it for now. We will encounter this on March 
   when we remove the support for PHP 5.6: [https://publishpress.com/blog/publishpress-news/php-5-6/](https://publishpress.com/blog/publishpress-news/php-5-6/)
 *  [metalinedev](https://wordpress.org/support/users/metalinedev/)
 * (@metalinedev)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-codes-for-php-8-1/#post-16777151)
 * Hi, the warning is still there. Can it be solved?
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [3 years ago](https://wordpress.org/support/topic/deprecated-codes-for-php-8-1/#post-16777159)
 * Hi [@roadlink](https://wordpress.org/support/users/roadlink/). We plan to release
   a fix in June, but it’s a big project to update all our plugins for 8.1 and 8.2.
 * You can safely ignore this message for now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Deprecated codes for PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3408171)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/deprecated-codes-for-php-8-1/#post-16777159)
 * Status: resolved