Dear Alun,

I get this error when i view any match created. Any help on this issue?

See the attached image.

Regards.

Comments

Alun’s picture

Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

bwax, can you ensure you are using the latest version of Leaguesite? I just did a check and the foreach statement has moved down a line on the latest leaguesite_match.module, so the error message is occurring on an old version of leaguesite_match.module.
I am not having this problem when creating a match on the version available on Drupal.

timbraeckman’s picture

I don't get this error either so i guess it's a problem with an older dev version indeed :-)

emnzava’s picture

OK,
I'll update and give you feedback.

Thanks

Jean Rodas’s picture

StatusFileSize
new15.48 KB
new93.82 KB

Hi Alun I download the latest dev version 6.x-1.x-dev (2010-Jul-23) in a fresh drupal installation and i got the same error that bwax also the table is updating wrong, i add the result with Home 2 and Away 1 and in the table assign 1 point to the loser when this must be zero, so i edit the result again and got the error, and the points still wrong. Of course i did not modify the points system. I use Rugbi W=3 E=1 L=0.

Jean.

Alun’s picture

Status: Postponed (maintainer needs more info) » Active

OK thanks, I'll have a look at this as soon as I am reunited with my laptop - currently away!

Alun’s picture

Status: Active » Needs review

I'm not getting this error, I was looking around for it, I've updated the code, let me know if it still occurs with you!
Thanks
Alun

emnzava’s picture

Dear Alun,

On my side am still getting the same error. What drupal version are you using? Is it 6.18 or 6.19.

And what have you changed in the current dev release? The one you updated on 1st September.

Regards.

Alun’s picture

I am using the latest versions of everything.
The current dev release fixed a few issues, I didn't change anything that might cause this error
Are the errors still occuring on the same line numbers? (763 and 768).

Alun’s picture

Assigned: Unassigned » Alun
Status: Needs review » Active

bwax, I have just managed to replicate the problem, I'll sort it out and post a patch shortly!
A quick fix is to disable leaguesite scoring if you are not using it, as thats what causes the problem - having the module enabled, but not using it in a match!

Alun

Alun’s picture

StatusFileSize
new21.95 KB

Sorted! Committed too. Thanks for the issue bwax, that was a nicely hidden error!

Alun’s picture

Status: Active » Fixed
emnzava’s picture

Dear Alun,
Thanx a lot for discovering the source of that problem. I started to think may be drupal version am using has got some minor issues.

I disabled leaguesite scoring and the error disappeared.

Thank to you too Alun. I agree, that error was nicely hidden.

Thanx once again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.