WordPress.org

Ready to get started?Download WordPress

Forums

Post Affiliate Pro
[resolved] Warning: array_key_exists() [function.array-key-exists]: (2 posts)

  1. David Swanson
    Member
    Posted 1 year ago #

    Hi, when I add the shortcode to a page I receive this error.

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /(mydirectory)/wp-content/plugins/postaffiliatepro/Shortcode/Cache.class.php on line 25

    I removed my true directory and used (mydirectory) since this is a public forum.

    The shortcode still works but displays that error.

    Please help.

    http://wordpress.org/extend/plugins/postaffiliatepro/

  2. David Swanson
    Member
    Posted 1 year ago #

    Found the error. In the shortcode [affiliate item="loginurl" caption="Log me in!"/]

    It does not like the "!" if you remove the ! it works just fine :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic