Hi,
For me the same problem. I solved it this way:
Obviously you updated to a newer version of PHP, which is limited max_input_vars (1000). When managing my hosting to set this limit in PHP settings on (10000), and everything is fine.
5000, but still did not .
try this maybe it’s help
admin/match php. line 87:
$max_matches = 11; change the value to the n. of your matches
87 line and I could not find such a value in others. 🙁
There are 27 lines in this
$id = (int)$_GET[‘edit’];
$match = $leaguemanager->getMatch($id);
$league_id = $match->league_id;
$matches[0] = $match;
$match_day = $match->match_day;
$max_matches = 1; (There are 27 lines in this)
$league = $leaguemanager->getLeague( $league_id );
} elseif ( isset($_GET[‘match_day’]) ) {
$mode = ‘edit’;
$edit = true; $bulk = true;
$order = false;
how many teams you have ????
18 teams, 34 weeks
Maximum loading of 10 weeks.
ok this for 18 teams
go to admin/match.php line 107 and change like this:
amend with the line 107 // and add $max_matches = 18; before }
//$max_matches = ceil($leaguemanager->getNumTeams($league->id, $group)); // set number of matches to add to half the number of teams per match day
$max_matches = 18;
let me know
Ben
The warning comes in the plugin page:
Parse error: syntax error, unexpected ‘(‘ in /home/usr00816/public_html/gururlan.net/demo/wp-content/plugins/leaguemanager/admin/match.php on line 107
You can you do ?
Folder: http://www.gururlan.net/match.zip
Match adds, does not save scores
in your file match.php i dont the modification, you are sure that you make this:
//$max_matches = ceil($leaguemanager->getNumTeams($league->id, $group)); // set number of matches to add to half the number of teams per match day
$max_matches = 18;
}
file:
file:
do you modify like this ???
you are sure that you modificate as i tell you:
before:
$max_matches = ceil($leaguemanager->getNumTeams($league->id, $group)); // set number of matches to add to half the number of teams per match day
}
after
//$max_matches = ceil($leaguemanager->getNumTeams($league->id, $group)); // set number of matches to add to half the number of teams per match day
$max_matches = 18;
}
I did likewise , not happen.
dont put the // in the begin
add only:
$max_matches = 18;
before the close }