WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yet Another Related Posts Plugin] YARPP Warning on WP3.0 (6 posts)

  1. rxs
    Member
    Posted 3 years ago #

    I installed YARPP 3.1.8 on WP3.0 and have got some Warning in logs.
    Please see example Warning below.

    [Fri Jun 18 06:19:42 2010] [error] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in .../www/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 85
    >> [Fri Jun 18 06:19:42 2010] [error] PHP Warning: Invalid argument supplied for foreach() in .../www/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 85
    >> [Fri Jun 18 06:19:42 2010] [error] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in .../www/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 89
    >> [Fri Jun 18 06:19:42 2010] [error] PHP Warning: Invalid argument supplied for foreach() in .../www/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 89

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. patrixmtl
    Member
    Posted 3 years ago #

    +1 Same problem on my website on WP3.

  3. dilneiss
    Member
    Posted 3 years ago #

    +1

  4. Jawillde
    Member
    Posted 3 years ago #

    Same here. Had to remove the plugin because it caused our server to crash.

  5. Hi all. This has previously been reported but I am unable to reproduce it. Can you tell me what PHP version you're using? If either of you know PHP and would like to take a look at that code, I would appreciate that as well... I don't know how that warning could ever come up.

    @Jawillde the problem described by others here is *not* a server crash. I'm not sure what you mean by "same here".

  6. @rxs, $patrixmtl, @dilneiss, I was able to reproduce this and believe I've fixed it. If you could try out this new beta, it would be much appreciated:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.zip

Topic Closed

This topic has been closed to new replies.

About this Topic