Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi !

    This is a quick and dirty fix, but it’s work !!!

    In the file
    /twitter-widget-pro/lib/wp-twitter.php

    In the line 121 add belong to

    $decoded_response = wp_parse_args( $resp[‘body’] );

    this fix

    // fix : wp_parse_args not working with the $resp[‘body’]
    if(!is_array($decoded_response) && !is_object($decoded_response)){
    $_url = explode(‘&’,$decoded_response);
    $decoded_response=array();
    foreach($_url as $_u){
    $__u = explode(‘=’,$_u);
    $decoded_response[$__u[0]]=$__u[1];
    }
    }

    regards

Viewing 1 replies (of 1 total)