FoursquareCrawler "property of non-object" PHP errors #1501

Closed
squircle opened this Issue Mar 3, 2013 · 2 comments

Projects

None yet

2 participants

@squircle
Contributor
squircle commented Mar 3, 2013

When I run the ThinkUp crawler, I receive a bunch of errors when it hits the Foursquare portion of the crawling process. Specifically, these two errors are repeated 252 times:

PHP Notice:  Trying to get property of non-object in /path/to/thinkup/plugins/foursquare/model/class.FoursquareCrawler.php on line 290
PHP Notice:  Trying to get property of non-object in /path/to/thinkup/plugins/foursquare/model/class.FoursquareCrawler.php on line 291

... followed by one of these:

PHP Notice:  Undefined variable: resultset in /path/to/thinkup/_lib/dao/class.PostMySQLDAO.php on line 2131

... followed by 24 of these:

PHP Notice:  Undefined variable: last_week_value in /path/to/thinkup/_lib/dao/class.PostMySQLDAO.php on line 2173

This (or similar issues) happened for me in 1.2.1 and 1.3.1 (didn't test 1.3). I'm currently back on 1.2.1 due to #1500, but I can provide any information necessary to find and squash this bug. I tried removing and re-adding the account already, but there was no change. This is on a standard Ubuntu system with PHP 5.3.10-1ubuntu3.5 and MySQL 5.5.29.

@ginatrapani
Member

What kind of account is this? A venue or a user account? ThinkUp doesn't currently support venue/business accounts.

@squircle
Contributor
squircle commented Jul 8, 2013

This is a personal account. Either way, this issue seems to have been resolved with the 2.x releases.

@squircle squircle closed this Jul 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment