WordPress.org

Ready to get started?Download WordPress

Forums

Runkeeper Fitness Feed
broken due to runkeeper code changes. (2 posts)

  1. absoblogginlutely
    Member
    Posted 1 year ago #

    Just a heads up that runkeeper has changed the html code that is generated and therefore the widget no longer runs and instead returns "Fatal error: Call to a member function find() on a non-object in urlname/wp-content/plugins/runkeeper-widget/runkeeper-widget.php on line 108
    There are a couple of changes to the runkeeper-widget-php that need to be changed. I've fixed two so far but not being that familiar I'm stuck on the third change.
    Change
    accordion-m to accordion open
    bubble-text to bubble

    Need to correct

    preg_match('/\-\d{1,2}/', $firstActivityHtml->find('div[class=day]', 0)->innertext, $matchday);

    The website is now <div class="day 20"> where 20 is the day name of last change, but i'm not sure how to fix this...

    http://wordpress.org/extend/plugins/runkeeper-fitness-feed/

  2. zeigen
    Member
    Posted 1 year ago #

    Ah, thanks for explaining why this wasn't working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic