Page 1 of 1

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Posted: Tue Nov 02, 2021 1:06 am
by Mackecool93
Im getting this error message "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !", which leads to a crash, at Apr 8th using a modified version of the "PremierPivot 5.6.2". The modifications i've done are some adjustments to players(changed clubs/pos/ca/pa etc.), created some new players, created a few new leagues by starting a new league or changed the teams in a current one to make "regional" leagues around the globe. In all of these ive used a previously tested schedule template/ruleset which i know has worked before, i manually imported them from an earlier database ive made.

So anyone know exactly what the error means. I started by looking at all leagues in the database, mine and the ones that were there and looked at the drawdates to see if i could find something there. Did some changes to see if that were the culprit, no luck(i can be wrong about it though). Now as im writing this i thought about the ivalid index part and im trying to see if its a UID error. I might try to exclude leagues and run one at a time to try and find the league giving an error(if it is a specific league error) but a minimal database all detail at none and all leagues selected it takes me about 2h i think to get to the date in question so id rather not.

If anyone has any ideas please share. I can upload the database here if its needed.

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Posted: Tue Nov 02, 2021 9:45 am
by Mackecool93
After a lot of looking around and a lot of simming different configurations(and finding and fixing about 4-5 other error messages) i think i found the thing triggering the above error message. In multiple competitions i had forgot to mention which stage to pull teams from for a playoff. Hopefully this fixes it.

Error code "COMP_BASIC_RULES::get_stage_structure() - invaild stage index !"

Posted: Tue Nov 02, 2021 6:14 pm
by archibalduk
Yes that sounds like the issue. That error means that you've put an incorrect stage number in a field somewhere.