Title: Compatibility with nette/http
Last modified: December 2, 2022

---

# Compatibility with nette/http

 *  Resolved [adamzelycz](https://wordpress.org/support/users/adamzelycz/)
 * (@adamzelycz)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-nette-http/)
 * Hi,
 * I am getting error while using MWP worker in connection with [nette/http](https://github.com/nette/http)
   library.
 * The problem is this [exception](https://github.com/nette/http/blob/3d0f37872f2d699072b88f9c744b60b231d6402f/src/Http/RequestFactory.php#L175).
   nette/http does not allow to use integers as values in $_COOKIE. However MWP 
   is setting this:
 *     ```
       $_COOKIE['redirect_count'] = 10;
       ```
   
 * This is located in _src/MWP/EventListener/MasterRequest/SetRequestSettings.php_
   on line 64
 * If I change this line to:
 *     ```
       $_COOKIE['redirect_count'] = '10';
       ```
   
 * everything works fine.
 * Would it be possible to make this modification?

Viewing 1 replies (of 1 total)

 *  Plugin Support [ddragovic](https://wordpress.org/support/users/ddragovic/)
 * (@ddragovic)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-nette-http/#post-16274497)
 * Hello Adam,
 * Thanks for reaching out to us.
 * The issue at hand is forwarded to the developer team to make the necessary modifications
   from their end. At the moment, I cannot provide you with the estimated time when
   it will be done, but hopefully, it will be resolved soon.
 * Kindly.

Viewing 1 replies (of 1 total)

The topic ‘Compatibility with nette/http’ is closed to new replies.

 * ![](https://ps.w.org/worker/assets/icon.svg?rev=1015191)
 * [ManageWP Worker](https://wordpress.org/plugins/worker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/worker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/worker/)
 * [Active Topics](https://wordpress.org/support/plugin/worker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/worker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/worker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ddragovic](https://wordpress.org/support/users/ddragovic/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/compatibility-with-nette-http/#post-16274497)
 * Status: resolved