Title: PHP Errors
Last modified: August 22, 2016

---

# PHP Errors

 *  [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-errors-40/)
 * I am trying to clean up PHP errors on our site, and I noticed that there are 
   a lot of them being generated from your plugin.
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 3388`
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 3429`
 * `PHP Warning: array_keys() expects parameter 1 to be array, null given in /wp-
   content/plugins/wp-syntax/geshi/geshi.php on line 3481`
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 3481`
 * `PHP Warning: array_keys() expects parameter 1 to be array, null given in /wp-
   content/plugins/wp-syntax/geshi/geshi.php on line 3626`
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 3626`
 * `PHP Warning: array_keys() expects parameter 1 to be array, null given in /wp-
   content/plugins/wp-syntax/geshi/geshi.php on line 2039`
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 2039`
 * `PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/
   wp-syntax/geshi/geshi.php on line 2411`
 * `PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Argument
   must be an array in /wp-content/plugins/wp-syntax/geshi/geshi.php on line 3365`
 * `PHP Warning: array_keys() expects parameter 1 to be array, null given in /wp-
   content/plugins/wp-syntax/geshi/geshi.php on line 3388`
 * PHP is of course very forgiving, so the plugin seems to be working okay. However
   all of these errors being generated are filling up my error logs, and php runs
   much slower when dealing with errors such as these.
 * I would love your attention in getting these issues patched up.
 * Thanks,
 * Matt
 * [https://wordpress.org/plugins/wp-syntax/](https://wordpress.org/plugins/wp-syntax/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/wp-syntax_f8f6f6.svg)
 * [WP-Syntax](https://wordpress.org/plugins/wp-syntax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-syntax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-syntax/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-syntax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-syntax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-syntax/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/php-errors-40/)
 * Status: not resolved