Title: PHP error
Last modified: February 25, 2023

---

# PHP error

 *  [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-error-575/)
 * Hello,
 * How to fix this warning?
 * in /home/mysitey.com/wp-content/plugins/mailpoet/lib/Util/Cookies.php on line
   35
 * Please advise. Thanks in advance!

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

 *  Plugin Support [Dani F. a11n](https://wordpress.org/support/users/danielinhou/)
 * (@danielinhou)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-error-575/#post-16515378)
 * Hi there [@cfm168](https://wordpress.org/support/users/cfm168/) 👋🏽!
 * Thank you for reaching out to MailPoet Support!
 * > in /home/mysitey.com/wp-content/plugins/mailpoet/lib/Util/Cookies.php on line
   > 35
 * Is that the complete message that you are seeing? Can you check your PHP logs
   to see if there’s any additional context.
 * That extra context could shed some light on this issue.
 * Cheers!
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-error-575/#post-16515819)
 * Thank you [@danielinhou](https://wordpress.org/support/users/danielinhou/), See
   below hope this helps:
 * Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/SorryHided/
   SorryHided.com/wp-content/plugins/woo-conditional-discount-rules-for-checkout-
   hold/includes/class-woocommerce-dynamic-pricing-and-discount.php on line 190
 * SorryHidedy.com/wp-content/plugins/woo-conditional-product-fees-for-checkout/
   includes/class-woocommerce-conditional-product-fees-for-checkout.php:160) in /
   home/SorryHided/SorryHided.com/wp-content/plugins/mailpoet/lib/Util/Cookies.php
   on line 35
 * Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either
   be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\
   ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
   in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line
   63
 * Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either
   be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange]
   attribute should be used to temporarily suppress the notice in /home/SorryHided/
   SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 73
 * Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $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/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/
   Jar.php on line 89
 * Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either
   be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange]
   attribute should be used to temporarily suppress the notice in /home/SorryHided/
   SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 102
 * Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be
   compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange]
   attribute should be used to temporarily suppress the notice in /home/SorryHided/
   SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 111
 * Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists(
   $key) should either be compatible with ArrayAccess::offsetExists(mixed $offset):
   bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily
   suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/
   CaseInsensitiveDictionary.php on line 40
 * Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet(
   $key) should either be compatible with ArrayAccess::offsetGet(mixed $offset):
   mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily
   suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/
   CaseInsensitiveDictionary.php on line 51
 * Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet(
   $key, $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/SorryHided/SorryHided.com/
   wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

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

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cfm168](https://wordpress.org/support/users/cfm168/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-error-575/#post-16515819)
 * Status: not resolved