Having some issues with indexes. Would appreciate any help troubleshooting.

I'm running a pick-the-winner with tie-break league. When a new user creates an account, the first time they go the League Summary page they the error below. There's no rank, points aren't 0, and high and low weeks labeled "Week()" The only way I get rid of this issue is to clear the cache. How can I resolve this and not have to clear the cache each time? The only thing I've done is deleted a few user accounts. Thanks!

•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1279 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1283 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1284 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1292 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1295 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: in theme_my_league_stats_block() (line 1295 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Trying to get property of non-object in theme_my_league_stats_block() (line 1295 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1295 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1295 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1299 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: in theme_my_league_stats_block() (line 1299 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Trying to get property of non-object in theme_my_league_stats_block() (line 1299 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1299 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).
•Notice: Undefined index: 34 in theme_my_league_stats_block() (line 1299 of /home3/pcaulfie/public_html/jvgpicks/sites/all/modules/pickem/pickem.module).

Comments

pcaulfie’s picture

Update: It appears that new users also do not show up in the standings page unless the cache is cleared. I had a bunch of people sign up and none of them showed up until the cache was cleared.

jvandervort’s picture

Fixed in dev.

pcaulfie’s picture

Status: Active » Closed (fixed)