WordPress.org

Ready to get started?Download WordPress

Forums

WP-Footnotes
Throws up errors (3 posts)

  1. turkeyphant
    Member
    Posted 1 year ago #

    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]: 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/

  2. drzax
    Member
    Plugin Author

    Posted 1 year ago #

    What version of WP-Footnotes are you using? In the current version (4.2.2) line 172 is an empty line.

    Also, this isn't the place to report bugs. Please do so on the WordPress Extras bug tracking system.

  3. turkeyphant
    Member
    Posted 1 year ago #

    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'];
    		}

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags