Title: Match statistics
Last modified: August 21, 2016

---

# Match statistics

 *  [jozefonline](https://wordpress.org/support/users/jozefonline/)
 * (@jozefonline)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/match-statistics-1/)
 * Hi,
    I am trying to add match statistics. I have added a stat named “Red Cards”
   and the field is ‘Team Roster’ type. When I go to a match and try to add a red
   card I click on the player icon and when I select the team player I get this 
   error in firebug:
 * Uncaught TypeError: Object #<Object> has no method ‘insertPlayer’ admin.php?page
   =leaguemanager&subpage=matchstats&league_id=14&match_id=1273:327
 * Also if I try to remove the stat I get this error:
 * Uncaught TypeError: Object #<Object> has no method ‘removeField’ admin.php?page
   =leaguemanager&subpage=matchstats&league_id=14&match_id=1273:344
 * Finally if I change the field to ‘text’ I print a name and when I press save 
   statistics the name i just typed is not saved, althought i get no errors.
 * [http://wordpress.org/plugins/leaguemanager/](http://wordpress.org/plugins/leaguemanager/)

The topic ‘Match statistics’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leaguemanager.svg)
 * [LeagueManager](https://wordpress.org/plugins/leaguemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaguemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaguemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/leaguemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaguemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaguemanager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jozefonline](https://wordpress.org/support/users/jozefonline/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/match-statistics-1/)
 * Status: not resolved