WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] array_map() Error with YARPP (8 posts)

  1. ishan001
    Member
    Posted 4 years ago #

    I am getting error: Warning: array_map() [function.array-map]: Argument #2 should be an array in /public_html/wp-content/plugins/yet-another-related-posts-plugin/magic.php on line 287 with YARPP. I am using Thesis 1.7.

  2. Katagh
    Member
    Posted 4 years ago #

    I have the same error and 2 others:

    Warning: join() [function.join]: Invalid arguments passed in /public_html/wp-content/plugins/yet-another-related-posts-plugin/magic.php on line 27

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/yet-another-related-posts-plugin/magic.php on line 54

    I am using Atahualpa.

  3. Shannon Wagner
    Member
    Posted 4 years ago #

    I am also getting these errors. I'm pretty sure it started as soon as I switched to Thesis 1.7 (was using v1.6 before). Using v3.2b1 of YARPP.

  4. Shannon Wagner
    Member
    Posted 3 years ago #

    Okay - the resolution is in this thread:
    http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-yarpp-32b-error

    It sounds like a beta version with a bug was accidentally pushed out. I deleted the plug-in and then re-added by doing a new search for YARPP in the admin console, and then was downgraded to a version that seems to work okay.

  5. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Yup, the beta is a beta! Buyer beware. :)

    3.1.9 is the latest stable version.

  6. ishan001
    Member
    Posted 3 years ago #

    I was using the stable version! But the error still appeared for posts not yet published(when I preview), so I upgraded to beta and it's still there! Anyway, it's not in the posts that are public. Hopefully, it will be fixed soon.

  7. redbulbstudios
    Member
    Posted 3 years ago #

    I am getting this error when I activate the plugin in WP 2.9.2

    Array ( [0] => Array ( [0] => 42000 [SQLSTATE] => 42000 [1] => 1018 [code] => 1018 [2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'index'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required. See SQL Server Books Online for proper syntax. [message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'index'. If this is intended as a part of a table hint, A WITH keyword and parenthesis are now required. See SQL Server Books Online for proper syntax. ) )

    WordPress database error: [1]
    show index from wp_posts
    Array ( [0] => Array ( [0] => 42000 [SQLSTATE] => 42000 [1] => 102 [code] => 102 [2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'post_title'. [message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'post_title'. ) )

    WordPress database error: [1]
    ALTER TABLE wp_posts ADD FULLTEXT yarpp_title ( post_title)
    Array ( [0] => Array ( [0] => 42000 [SQLSTATE] => 42000 [1] => 102 [code] => 102 [2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'post_content'. [message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'post_content'. ) )

    WordPress database error: [1]
    ALTER TABLE wp_posts ADD FULLTEXT yarpp_content ( post_content)

  8. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    @redbulbstudios are you using this on SQL server? YARPP requires MySQL.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic