Title: PHP warning for `Pimple\Container::offsetExists`
Last modified: October 30, 2023

---

# PHP warning for `Pimple\Container::offsetExists`

 *  Resolved [codepuncher](https://wordpress.org/support/users/krypsin/)
 * (@krypsin)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-warning-for-pimplecontaineroffsetexists/)
 * Using the plugin on PHP 8.1 causes PHP issues:
 *     ```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 in /path/to/plugins/ameliabooking/vendor/pimple/pimple/src/Pimple/Container.php on line 133
       ```
   
 * Please can this be fixed ASAP? It has happened for many months on various websites.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * (@ameliabooking)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-warning-for-pimplecontaineroffsetexists/#post-17160813)
 * Hello, thank you for reaching out to us.
 * Can you please let us know which version of the Amelia plugin you have installed
   on your website?
 * Looking forward to your reply.

Viewing 1 replies (of 1 total)

The topic ‘PHP warning for `Pimple\Container::offsetExists`’ is closed to new replies.

 * ![](https://ps.w.org/ameliabooking/assets/icon-256x256.png?rev=3429091)
 * [Booking for Appointments and Events Calendar - Amelia](https://wordpress.org/plugins/ameliabooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ameliabooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ameliabooking/)
 * [Active Topics](https://wordpress.org/support/plugin/ameliabooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ameliabooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ameliabooking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/php-warning-for-pimplecontaineroffsetexists/#post-17160813)
 * Status: resolved