WordPress.org

Forums

WordPress Seo-Rank
[resolved] Error on twitter counts in Line 314 (3 posts)

  1. t0m_ka
    Member
    Posted 2 years ago #

    The plugin somehow stops working with twitter follower count and I get this error message...

    Warning: simplexml_load_file(http://twitter.com/users/show.xml?screen_name=t0m_ka) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /var/www/web264/html/wordpress/wp-content/plugins/wordpress-seo-rank/wp-seo-rank.php on line 314

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://twitter.com/users/show.xml?screen_name=t0m_ka" in /var/www/web264/html/wordpress/wp-content/plugins/wordpress-seo-rank/wp-seo-rank.php on line 314

    any help?

    http://wordpress.org/extend/plugins/wordpress-seo-rank/

  2. aeryn_lynne
    Member
    Posted 2 years ago #

    I had to change line 314 to:

    $xml=simplexml_load_file("http://api.twitter.com/1/users/show/"."$user".".xml");

  3. t0m_ka
    Member
    Posted 2 years ago #

    Works! perfect, thank you! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Seo-Rank
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic