Title: http_request_timeout
Last modified: November 23, 2019

---

# http_request_timeout

 *  Resolved [webitman](https://wordpress.org/support/users/webitman/)
 * (@webitman)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/http_request_timeout/)
 * With the Query Monitor plugin I was searching for errors at my sites.
    I have
   several sites with the warning Use of undefined constant ‘http_request_timeout’–
   assumed ‘‘http_request_timeout’’ (this will throw an Error in a future version
   of PHP) 1 + wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’
   d code:5
 * What can I or you about this, because it seems to slow down the adminpanel of
   wordpress.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/http_request_timeout/#post-12341667)
 * Hi [@webitman](https://wordpress.org/support/users/webitman/),
 * This error has originated from the code in one of your snippets. It’s not something
   present in the core plugin or something I am able to fix; it’s due to some malformed
   code you have added as a snippet.
 * Specifically, it looks like you are trying to refer to the `'http_request_timeout'`
   hook but are missing the quotation marks that make it into a string.

Viewing 1 replies (of 1 total)

The topic ‘http_request_timeout’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/http_request_timeout/#post-12341667)
 * Status: resolved