wordpress similar posts error fix

if you get an error like this when you turn on the similar post plugin

Error activating similar-posts/similar-posts.php for blog id=xxxxxx:
Warning: array_flip() [function.array-flip]: The argument should be an array in /home/your-domain/public_html/my/wp-content/plugins/similar-posts/similar-posts.php on line 572

then please check your line 572.

The solution is easy:

$overusedwords = array_flip((array)$overusedwords);

just put (array) over there.

Rating: 0.0/10 (0 votes cast)

Related posts:

  1. wpmu array_merge() error for array when you twist wpmu, sometime plugin does not work well...
  2. jquery error in wordpress Please check <?php $metadata = has_meta($post->ID); list_meta($metadata); ?> in the...
  3. How to fix the problem of “Warning: call_user_func_array()” Some plugin may have the conflicts of the current 2.6...
  4. Wordpress export problem, solution and instruction As you may aware, when your xml size is over...
  5. Arbitrary File Upload Vulnerability in WordPress and WordPress MU Article original from http://www.buayacorp.com/files/wordpress/wordpress-advisory.html I just copy here to the...

Leave a Reply

Preview:

Tags:
Separate individual tags by commas