WordPress.org

Support

Support » Plugins and Hacks » WordSocial » [Plugin: WordSocial] Warning: array_count_values()

[Plugin: WordSocial] Warning: array_count_values()

  • sorry,

    i’m getting this error message

    Warning: array_count_values() [function.array-count-values]: The argument should be an array in /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/wordsocial.php on line 175

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/wordsocial.php:175) in /usr/www/users/pl1448/escapades/wp-includes/pluggable.php on line 866

    anys idea why? its going to be great when it will work !!!

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

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Tommy

    @akisbis

    Could you give me more info ? When you publish the content, how many checkboxes do you check to push it on the social networks ?

    I need some steps to reproduce it…

    i didn’t check any…
    but now i’ve just checked twitter and facebook and it said :

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php on line 39

    Warning: file_get_contents(http://api.bitly.com/v3/shorten?longUrl=http%3A%2F%2Fdisparates.org%2Fescapades%2Finvitation-de-milene-guermont-artiste%2F%3Futm_source%3DTwitter%26utm_medium%3Dsocial%26utm_campaign%3DWordSocial&login=akisbis&apiKey=R_ec0fccf9e8d056cd8e3a70b2fc733c64&format=json) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php on line 39

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php:39) in /usr/www/users/pl1448/escapades/wp-includes/pluggable.php on line 866

    actually i can’t publish anything when the plugin is activitated…

    well, actually, it’s ok now, i’m sorry. i added the twitter address and the facebook address, and it was ok. sorry for this…
    and many thanks for the plugin
    vm

    Plugin Author Tommy

    @akisbis

    If you got these warnings (those in your first post), there is definitely an error somewhere in my code 😉

    yes. maybe is it due to the plugin Postie i’m using…

    it is very strange, caus, sometimes it works, sometimes not, sometimes i have an error message, somentimes it is just not sending anything..

    I’m getting the same error as in the original post in this thread:

    Warning: array_count_values() [function.array-count-values]: The argument should be an array in /home/morebay/public_html/wp-content/plugins/wordsocial/wordsocial.php on line 175

    Warning: Cannot modify header information – headers already sent by (output started at /home/morebay/public_html/wp-content/plugins/wordsocial/wordsocial.php:175) in /home/morebay/public_html/wp-includes/pluggable.php on line 866

    I DO tick the Facebook and Twitter boxes when this error comes up.

    The posts did get posted to FB and Twitter, anyway, so this was just an annoyance.

    But with my recent update to WP 3.3.1 and Wordsocial 0.5.3, I get BOTH the annoyance and my posts don’t make it to FB and Twitter at all.

    Plugin Author Tommy

    @akisbis

    I think I figured out the problem…

    Do you use WordPress with the revisions disabled ? That should explains that issue. I have the same thing on my blog because the revisions are disabled.

    And like you said, the posts are not published on the social networks anymore.

    But in my local blog (for testing), the revisions are enabled and everything works. So that’s the reason why I didn’t have the issue before I pushed the version 0.5.3 :s I’m sorry for the inconvenience.

    If I’m correct and this is the only issue, I could make a fix pretty quickly for this. (I don’t have time right now but I’ll try to do it tomorrow).

    Could you confirm me that you have revisions disabled ?

    hello,
    it seems revisions are disabled. i’m just trying to figure out how to re-enable them. i’ll let you know

    i’v installed a new plugin to enable / disable Post revisions and it says:

    Error: WP_POST_REVISIONS is defined in your wp-config.php. Revision Control cannot operate.

    though WP_POST_REVISIONS is NOT defined in my wp-config …

    oh, yes, i found it :

    define(‘WP_POST_REVISIONS’, false);

    it is disabled with the Plugin Postie. But i need this Plugin…

    well, i disabled Postie, just to try, and the problem remains the same,

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php on line 39

    Warning: file_get_contents(http://api.bitly.com/v3/shorten?longUrl=http%3A%2F%2Fdisparates.org%2Fescapades%2Fplutot-servant-du-corps-evocation-de-la-perversion-et-tenant-du-dire-ne-pas-ceder-sur-le-desir%2F%3Futm_source%3DTwitter%26utm_medium%3Dsocial%26utm_campaign%3DWordSocial&login=akisbis&apiKey=R_ec0fccf9e8d056cd8e3a70b2fc733c64&format=json) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php on line 39

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/pl1448/escapades/wp-content/plugins/wordsocial/inc/wsourl.php:39) in /usr/www/users/pl1448/escapades/wp-includes/pluggable.php on line 866

    Not to re-bring this up but I’m also getting the same error when I’m uploading posts from a blog using wordpress tools.

    Warning: array_count_values() [function.array-count-values]: The argument should be an array in /home/content/h/o/l/holisticcara2/html/wp/cityholistic/wp-content/plugins/wordsocial/wordsocial.php on line 175

    I used the wordpress tool to import some posts. I transported all user posts to admin and checked “Download and import file attachments”. Whatever it was the import seemed to still work (the importing posts I mean).

    Hi there I got a similar problem,…

    First of all thank you love your plugin, used it on 2 other sides with good success and no problems.

    Here the error message which comes up:
    Warning: array_count_values() [function.array-count-values]: The argument should be an array in /home/realty/public_html/wp/wp-content/plugins/wordsocial/wordsocial.php on line 175

    Warning: Cannot modify header information – headers already sent by (output started at /home/realty/public_html/wp/wp-content/plugins/wordsocial/wordsocial.php:175) in /home/realty/public_html/wp/wp-includes/pluggable.php on line 866

    I’m using the “Contact Form 7” plugin. When I try to save changes to a new or existing form, this error message above come up. Any fixes already eventual related to the error messages in the post before. Any help is very much appreciated. Thanks Michael

    I’m getting the same array_count_values() error, revisions disabled.

    what’s the fix?

    I am getting the same array_count_values() error too.
    I am using WP3.3.1 (multisite, with post revisions turned off)

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Plugin: WordSocial] Warning: array_count_values()’ is closed to new replies.
Skip to toolbar