Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1267

    I am getting an error when I add the Habitat Twitter widget. I have another twitter widget that seems to work fine. I recently updated to WordPress 3.01.

    Here is the error:

    Fatal error: Call to undefined function: simplexml_load_string() in /nfs/c06/h05/mnt/97029/domains/ on line 191


    Sorry we can’t support third party plugins here – there are too many out there to take care of them. Please use another plugin which works.

    The Dude


    I wanted to use the twitter widget that comes with the habitat theme. Is that a third party widget? I only mention the other widget because I have one that does seem to work vs the on the comes with the habitat theme. I was hoping to use the habitat version for consistency in style but I can just not use it.

    Any other suggestions?


    No, I’m sorry I didn’t read your post carefully enough – the Habitat Twitter widget is part of the theme and is supported by us.

    Did you check your username spelling? I’m asking because this error indicates that the widget can’t access/download your user information. These informations are provided via xml from Twitter — line 187 of tweetbox.php requests and saves this information.

    $response = wp_remote_get( ''.$username );

    Because the other twitter widget works as expected I’m assuming that the problem is just a minor one (i.e. the problem is not caused by a blocked socket connection)


    Thanks for your help. I found the issue. My web service was still setup to use PHP4. I modified it to use PHP5 and everything is working fine now.

    Thanks again for your help and quick response. I love the theme!


    Glad that you found the problem.

    The Dude


    I have the same issue. Could you please tell me how to resolve it as well. I checked with my host, and they said to rename the file X.php5.

    Would this work? And what files would I need to name X.php5?

    Thank you, love the theme!


    If your host supports php 5 it should work. You need to rename tweetbox.php located under habitat/framework/theme_widgets/tweetbox.php

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

The topic ‘Twitter Widget returning error’ is closed to new replies.