Title: Lots of PHP errors
Last modified: August 30, 2016

---

# Lots of PHP errors

 *  [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/)
 * Hi,
 * My error_log is full of things like these:
 *     ```
       php[error] [06-Aug-2015 12:39:10 UTC] PHP Notice:  Undefined index: preview in /data/wp-content/plugins/supersonic/inc/actions.php on line 48
       php[error] [06-Aug-2015 12:39:10 UTC] PHP Notice:  Undefined index: supersonic in /data/wp-content/plugins/supersonic/inc/actions.php on line 51
       php[error] [06-Aug-2015 12:39:10 UTC] PHP Notice:  A non well formed numeric value encountered in /data/wp-content/plugins/supersonic/inc/actions.php on line 51
       ```
   
 * Any way to fix it?
 * Thanks.
 * [https://wordpress.org/plugins/supersonic/](https://wordpress.org/plugins/supersonic/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/lots-of-php-errors-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/lots-of-php-errors-2/page/2/?output_format=md)

 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6404932)
 * Keeps going on and on, dozens per minute.
 *     ```
       php[error] [07-Aug-2015 20:10:32 UTC] PHP Notice:  Undefined index: preview in /data/wp-content/plugins/supersonic/inc/actions.php on line 190
       php[error] [07-Aug-2015 20:10:32 UTC] PHP Notice:  Undefined index: preview in /data/wp-content/plugins/supersonic/inc/actions.php on line 48
       php[error] [07-Aug-2015 20:10:32 UTC] PHP Notice:  Undefined index: supersonic in /data/wp-content/plugins/supersonic/inc/actions.php on line 51
       php[error] [07-Aug-2015 20:10:32 UTC] PHP Notice:  A non well formed numeric value encountered in /data/wp-content/plugins/supersonic/inc/actions.php on line 51
       ```
   
 * 🙁
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405057)
 * Any help?
 *  [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405077)
 * I am getting these also when activating WP Debug with SuperSonic v1.3.2
 * Notice: Undefined index: preview in /wp-content/plugins/supersonic/inc/actions.
   php on line 190
 * Notice: Undefined index: supersonic in /wp-content/plugins/supersonic/inc/actions.
   php on line 51
 * Notice: A non well formed numeric value encountered in /wp-content/plugins/supersonic/
   inc/actions.php on line 51
 * And this in WP-Admin:
    Notice: Undefined index: wpss-config-submit in wp-content/
   plugins/supersonic/inc/config.php on line 106
 *  [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405078)
 * Also see Debug errors in WP-admin under Purge Settings when unchecking pages 
   and saving:
 *     ```
       Notice: Undefined index: attachment_tax in /wp-content/plugins/supersonic/inc/config.php on line 534
       > Taxonomy pages
       Notice: Undefined index: attachment_author in /wp-content/plugins/supersonic/inc/config.php on line 540
       > Author pages
       Notice: Undefined index: attachment_date in /wp-content/plugins/supersonic/inc/config.php on line 546
       > Date pages
       Notice: Undefined index: attachment_search in /wp-content/plugins/supersonic/inc/config.php on line 552
       > Search pages
       ```
   
 *  [michael](https://wordpress.org/support/users/hzwtf/)
 * (@hzwtf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405115)
 * In my php_error.log:
 *     ```
       PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in wp-content/plugins/supersonic/inc/config.php on line 811
       [13-Oct-2015 19:32:05] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /wp-content/plugins/supersonic/inc/config.php on line 887
       [13-Oct-2015 19:32:05] PHP Notice:  Undefined index:  xmlrpc_countries in /wp-content/plugins/supersonic/inc/config.php on line 887
       [13-Oct-2015 19:32:05] PHP Notice:  Undefined index:  login_countries in /wp-content/plugins/supersonic/inc/config.php on line 735
       [13-Oct-2015 19:32:05] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in wp-content/plugins/supersonic/inc/config.php on line 735
       [13-Oct-2015 19:32:05] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /wp-content/plugins/supersonic/inc/config.php on line 811
       [13-Oct-2015 19:32:05] PHP Notice:  Undefined index:  comment_countries in /wp-content/plugins/supersonic/inc/config.php on line 811
       [13-Oct-2015 15:50:22] PHP Notice:  Undefined index:  donotlogout_roles in /wp-content/plugins/supersonic/inc/actions.php on line 228
       ```
   
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405122)
 * New errors:
 *     ```
       php[error] [20-Oct-2015 18:40:20 UTC] PHP Notice:  Undefined index: post_tax in /data/wp-content/plugins/supersonic/inc/actions.php on line 332
       php[error] [20-Oct-2015 18:40:20 UTC] PHP Notice:  Undefined index: post_author in /data/wp-content/plugins/supersonic/inc/actions.php on line 352
       php[error] [20-Oct-2015 18:40:20 UTC] PHP Notice:  Undefined index: post_other in /data/wp-content/plugins/supersonic/inc/actions.php on line 369
       php[error] [20-Oct-2015 18:40:28 UTC] PHP Notice:  Undefined index: administrator in /data/wp-content/plugins/supersonic/inc/actions.php on line 240
       ```
   
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405125)
 * Any plans for a fix? It’s been a few months… 🙁
 *  Plugin Author [kursora](https://wordpress.org/support/users/kursora/)
 * (@kursora)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405130)
 * Some of these notices and warnings fixed.
 * If any still remain, please let me know.
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405131)
 * This one hasn’t been fixed:
 * `php[error] [18-Jan-2016 20:41:38 UTC] PHP Notice: Undefined index: administrator
   in /data/wp-content/plugins/supersonic/inc/actions.php on line 237`
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405132)
 * And these, too:
 *     ```
       php[error] [19-Jan-2016 00:34:05 UTC] PHP Notice:  Undefined index: security in /data/wp-content/plugins/supersonic/inc/security.php on line 67
       php[error] [19-Jan-2016 00:34:05 UTC] PHP Notice:  Undefined index: security in /data/wp-content/plugins/supersonic/inc/security.php on line 76
       ```
   
 *  [tvhawk](https://wordpress.org/support/users/tvhawk/)
 * (@tvhawk)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405140)
 * Here is another one as well.
 * `Notice: Undefined index: donotlogout_roles in ***/public_html/wp-content/plugins/
   supersonic/inc/actions.php on line 234`
 *  [MrBrian](https://wordpress.org/support/users/mrbrian/)
 * (@mrbrian)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405144)
 * Had to disable this plugin because of the PHP Notices filling the log. 🙁
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405145)
 * Still seeing a lot of these:
 *     ```
       php[error] [16-Mar-2016 22:21:47 UTC] PHP Notice:  Undefined index: contributor in /data/wp-content/plugins/supersonic/inc/actions.php on line 244
       php[error] [16-Mar-2016 22:24:43 UTC] PHP Notice:  Undefined index: administrator in /data/wp-content/plugins/supersonic/inc/actions.php on line 244
       ```
   
 *  [davbarrio](https://wordpress.org/support/users/davbarrio/)
 * (@davbarrio)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405146)
 * Hello kursorA,
 * i see a lot of errors like the others, like this ones:
 * Undefined index: donotlogout_roles in ***/public_html/wp-content/plugins/supersonic/
   inc/actions.php on line 237
 * Also a lot of PHP Wrnings like: PHP Warning: Cannot modify header information–
   headers already sent by (output started at wp-content/db.php:43) in /wp-includes/
   pluggable.php on line 1228
 * Cannot modify header information – headers already sent by (output started at
   wp-content/db.php:43) in wp-includes/pluggable.php on line 1228
 * I like your plugin because it seems to make my site faster, but i need to stop
   this Warnings. Is there any solution to fix all this?
 * Thanks for your time.
 * Regards.
 *  Plugin Author [kursora](https://wordpress.org/support/users/kursora/)
 * (@kursora)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lots-of-php-errors-2/#post-6405147)
 * Do you have newer version installed?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/lots-of-php-errors-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/lots-of-php-errors-2/page/2/?output_format=md)

The topic ‘Lots of PHP errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/supersonic.svg)
 * [Wordpress SuperSonic with CloudFlare](https://wordpress.org/plugins/supersonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/supersonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/supersonic/)
 * [Active Topics](https://wordpress.org/support/plugin/supersonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/supersonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/supersonic/reviews/)

## Tags

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

 * 16 replies
 * 7 participants
 * Last reply from: [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/lots-of-php-errors-2/page/2/#post-6405148)
 * Status: not resolved