WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Footnotes] Conflict with Yet Another Related Posts Plugin (YARPP)

[Plugin: WP-Footnotes] Conflict with Yet Another Related Posts Plugin (YARPP)

  • Hi,

    When saving a draft that contains footnotes, the YARPP metabox in the WP editor displays the following error:

    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 167

    The faulty line in footnotes.php is

    if ( array_key_exists(get_post_meta($post->ID, 'footnote_style', true), $this->styles) ) {

    If you simply precede this line with

    if (is_admin()) return;

    The problem goes away.

    Thanks!

    http://wordpress.org/extend/plugins/wp-footnotes/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Footnotes] Conflict with Yet Another Related Posts Plugin (YARPP)’ is closed to new replies.