Support » Plugins » [Plugin: WP to Twitter] Bug & Fix

  • I was getting the following error *every time I saved a post*, but edited this plugin’s code to fix it.

    Warning: str_split() [function.str-split]: The length of each segment must be greater than zero in /homepages/13/d92881413/htdocs/wegoats/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 378
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d92881413/htdocs/wegoats/wp-content/plugins/wp-to-twitter/wp-to-twitter.php:378) in /homepages/13/d92881413/htdocs/wegoats/wp-includes/pluggable.php on line 865

    Fix: I inserted @ before str_split on line 378.

    There are more elegant fixes, but this one works.

Viewing 1 replies (of 1 total)
  • I’ve instituted that change, among others, in the latest release — although I did actually switch the function used, as well, for other reasons.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP to Twitter] Bug & Fix’ is closed to new replies.