Title: PHP Errors (compatibility with PHP 8.X)
Last modified: June 28, 2023

---

# PHP Errors (compatibility with PHP 8.X)

 *  [dsuescun](https://wordpress.org/support/users/dsuescun/)
 * (@dsuescun)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-compatibility-with-php-8-x/)
 * Hi!
 * First of all: great plugin! Now, for my query:
 * I was checking a site (I’m on PHP 8.1) where I’m using UCW and noticed these 
   errors:
 * Deprecated: Return type of Carbon_Fields\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 /home/jttgkft/public_html/wp-content/plugins/ultimate-coupon-for-
   woocommerce/vendor/htmlburger/carbon-fields/core/Pimple/Container.php on line
   128
 * Deprecated: Return type of Carbon_Fields\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 /home/jttgkft/public_html/wp-content/plugins/ultimate-coupon-for-woocommerce/
   vendor/htmlburger/carbon-fields/core/Pimple/Container.php on line 93
 * Deprecated: Return type of Carbon_Fields\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 /home/jttgkft/public_html/wp-content/plugins/ultimate-
   coupon-for-woocommerce/vendor/htmlburger/carbon-fields/core/Pimple/Container.
   php on line 74
 * Deprecated: Return type of Carbon_Fields\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 /home/jttgkft/public_html/wp-content/plugins/ultimate-coupon-for-woocommerce/
   vendor/htmlburger/carbon-fields/core/Pimple/Container.php on line 138
 * Could you please check if it’s possible to update those?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-compatibility-with-php-8-x%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP Errors (compatibility with PHP 8.X)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-coupon-for-woocommerce_a180de.
   svg)
 * [Ultimate Coupons for WooCommerce Free](https://wordpress.org/plugins/ultimate-coupon-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-coupon-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-coupon-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-coupon-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-coupon-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-coupon-for-woocommerce/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [dsuescun](https://wordpress.org/support/users/dsuescun/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/php-errors-compatibility-with-php-8-x/)
 * Status: not resolved