• Resolved ishan001

    (@ishan001)


    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    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.

    Okay – the resolution is in this thread:
    https://www.ads-software.com/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.

    Yup, the beta is a beta! Buyer beware. ??

    3.1.9 is the latest stable version.

    Thread Starter ishan001

    (@ishan001)

    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.

    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)

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

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