Title: Multiple PHP notices
Last modified: February 20, 2017

---

# Multiple PHP notices

 *  Resolved [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-php-notices/)
 * Hello,
    if I activate `WP_DEBUG_LOG` in `wp-config.php`, almost instantly the
   file `debug.log` is filled with multiple lines, for example:
 *     ```
       [19-Feb-2017 16:41:52 UTC] Array
       (
           [akismet_debug] => Array
               (
                   [akismet_url] => https://NUMERIC_STRING.rest.akismet.com/1.1/verify-key
                   [http_args] => Array
                       (
                           [body] => key=NUMERIC_STRING&blog=https%3A%2F%2Fwww.example.com
                           [headers] => Array
                               (
                                   [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
                                   [Host] => NUMERIC_STRING.rest.akismet.com
                                   [User-Agent] => WordPress/4.7.2 | Akismet/3.2
                               )
   
                           [httpversion] => 1.0
                           [timeout] => 15
                       )
   
                   [response] => Array
       ```
   
 * and so on. In the original file there is a numeric string instead of `NUMERIC_STRING`.
 * I’m using WP 4.7.2, Akismet 3.2, Apache, PHP 5.6.30.
 * Why I receive such notices?
 * Thanks in advance.

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

 *  Thread Starter [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-php-notices/#post-8847145)
 * Could anyone tell me if they are receiving those notices?
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-php-notices/#post-8853592)
 * These are typical Akismet debug logs. You can disable them by either setting `
   WP_DEBUG_LOG` to false, or adding a filter that returns false for `akismet_debug_log`.
 *  Thread Starter [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-php-notices/#post-8853982)
 * `WP_DEBUG_LOG` is needed when testing my plugins.
 * I’ve just added to my functions plugin:
 * `add_filter( 'akismet_debug_log', '__return_false' );`
 * Thanks for your reply.
    -  This reply was modified 9 years, 3 months ago by [Aldo Latino](https://wordpress.org/support/users/aldolat/).

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

The topic ‘Multiple PHP notices’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/multiple-php-notices/#post-8853982)
 * Status: resolved