Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #222886

    I added the Twitter and RSS widget and am now getting dozes of the following error from the widget:
    Warning: simplexml_load_string() [function.simplexml-load-string]: ){a||(a=window.event);if(!a)return!1;a.timestamp=(new Date).getTime();!a.target& in /home/ckas10/solo-technology.com/blog/wp-content/themes/sentence/framework/php/class-framework-widgets.php on line 651

    Is this something I can fix? A server issue?

    #223211

    Hey chriskas10!

    Please edit /wp-content/themes/enfold/framework/php/class-framework-widgets.php and replace

    $twittercount = wp_remote_get( 'https://twitter.com/users/'.$twitter );<br />
    <br />
    if (!is_wp_error($twittercount))

    with

    $twittercount  = '';<br />
    <br />
    if (!is_wp_error($twittercount) && !empty($twittercount) )

    Best regards,
    Ismael

    #223733

    Thanks, Ismael!

    That cleared up the errors — should this widget be showing tweets too? Or is there something that triggers it to fetch tweets?

    #223747

    Hey!

    I think Kriesi removed the twitter feed function from the theme and it hasn’t been back since. Please use a plugin for twitter feeds.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.