Title: Throws up errors
Last modified: August 20, 2016

---

# Throws up errors

 *  [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/throws-up-errors/)
 * Like the plugin a lot but there are many many PHP errors in the logs related 
   to it. Often brings down my SQL server and web server 🙁
 * e.g. [15-Jan-2013 08:14:14] PHP Warning: array_key_exists() [[function.array-key-exists](https://wordpress.org/support/topic/throws-up-errors/function.array-key-exists?output_format=md)]:
   The first argument should be either a string or an integer in /wp-content/plugins/
   wp-footnotes/footnotes.php on line 172
 * [http://wordpress.org/extend/plugins/wp-footnotes/](http://wordpress.org/extend/plugins/wp-footnotes/)

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

 *  Plugin Author [drzax](https://wordpress.org/support/users/drzax/)
 * (@drzax)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/throws-up-errors/#post-3551717)
 * What version of WP-Footnotes are you using? In the current version (4.2.2) [line 172 is an empty line](https://github.com/drzax/wp-footnotes/blob/4.2.2/footnotes.php#L172).
 * Also, this isn’t the place to report bugs. Please do so on the [WordPress Extras bug tracking system](http://plugins.trac.wordpress.org/newticket?component=wp-footnotes&owner=drzax).
 *  Thread Starter [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/throws-up-errors/#post-3551737)
 * I’m running 4.2.2
 * My lines 171-176 look like:
 *     ```
       // Check if this post is using a different list style to the settings
       		if ( array_key_exists(get_post_meta($post->ID, 'footnote_style', true), $this->styles) ) {
       			$style = get_post_meta($post->ID, 'footnote_style', true);
       		} else {
       			$style = $this->current_options['list_style_type'];
       		}
       ```
   

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

The topic ‘Throws up errors’ is closed to new replies.

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

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/throws-up-errors/#post-3551737)
 * Status: not resolved