Forums

LeagueManager
match stats insert not working (13 posts)

  1. snooker_dg
    Member
    Posted 1 year ago #

    I have set up fields in the match stats settings to point to a team roster. When I go to add a stat the field shows me the team roster but nothing happens when I click insert.

    Any ideas?

    David

  2. snooker_dg
    Member
    Posted 1 year ago #

    Actually just noticed the error console in firefox says

    Error: Leaguemanager.insertPlayer is not a function
    Source File: http://localhost/snooker/wp-admin/admin.php?page=leaguemanager&subpage=matchstats&league_id=5&match_id=6
    Line: 1

  3. bartw
    Member
    Posted 1 year ago #

    I have the same problem.

    And the same thing happens when I want to delete a stat. I get the following error:
    Uncaught TypeError: Object #<an Object> has no method 'removeField'

    Bart

  4. jah008
    Member
    Posted 1 year ago #

    Has this been sorted yet?

    I am having the same problem. I assign a player who scores a goal but press insert and nothing happens. I can press cancel but not insert.

    Please let me know when this is fixed or if im doing something wrong.

    Josh

  5. tokis
    Member
    Posted 1 year ago #

    I have the same problem when press insert for scorer?

    Anyoner?

  6. notami
    Member
    Posted 1 year ago #

    Same problem. You can fixed it. File wp-content/plugins/leaguemanager/admin/js/ajax.js Change 1 line
    var Leaguemanager = new Object();
    to

    //var Leaguemanager = new Object();
    if(typeof Leaguemanager == "undefined") {
      var Leaguemanager = new Object();
    }
  7. Mark
    Member
    Posted 1 year ago #

    I was having this issue as well and just applied the fix.

    The insert functionality is working fine now.

    Thanks notami.

  8. hali6sic6
    Member
    Posted 1 year ago #

    I'm using 3.7 tried the fix but i still get this error:

    Warning: extract() [function.extract]: First argument should be an array in /home/pronatu2/public_html/crap/wp/wp-content/plugins/leaguemanager/admin/admin.php on line 476

  9. hali6sic6
    Member
    Posted 1 year ago #

    I reinstalled everything and now it works with no errors... now all i need is how to make this work with project manager sow i can assign registered members to teams

  10. SteniS87
    Member
    Posted 9 months ago #

    I'm having this very problem myself.

    hali6sic6: What do you mean with uninstalling everything? Does that include WordPress as well? Did you apply the "fix" from above?

    Any help would be appreciated.

  11. Guillermo Sabbatella
    Member
    Posted 9 months ago #

    Steni, I solved this problem with what notami said. Have you tried it?

  12. SteniS87
    Member
    Posted 9 months ago #

    Yes, I did try it without any success. So I am thinking of just re-installing WordPress completely and then also apply the fix to see if it works.

  13. lap04154
    Member
    Posted 6 months ago #

    Tried this fix and it allows me to insert the stat, but it doesn't show up on projectmanager dataset

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic