WordPress.org

Forums

LeagueManager
PHP Fatal error: Class 'LeagueManager' not found in /home/pb191141/public_html/l (52 posts)

  1. stylinjimp
    Member
    Posted 1 year ago #

    New Issue:

    WordPress 3.9 and League Manager 3.8.9 crashes IE 8. Please verify.

    Will have to Roll back to 3.8.x and League Manager 3.8.9 until a fix is available.

  2. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    Have you run WordPress 3.9 without LeagueManager to check to see if WP 3.9 is causing the issues or LM 3.8.9? I don't even have a machine I can test IE 8 on, but I'll do some research and see what could have changed in my code that is causing a problem. Is it crashing immediately or when you do something specific? Any detail you can provide would be helpful...

  3. stylinjimp
    Member
    Posted 1 year ago #

    Try this..

    http://www.browserstack.com/test-in-internet-explorer

    Gives you a half hour free and you can test any browser.

    This issue was reported by a user of burlingtonstampeders.com

    In my own testing, I found it only happens in IE 8 (not 9, 10, 11).

    You will see it crashes right away. WP 3.8.x and League Manager work fine. Upgrading to WP 3.9 breaks it. So likely compatibility issue between the two but not sure which one causing it. Hard to debug because IE crashes right away and seems like no way to get log.. probably have to set up a test environment and do logging to the console at certain breakpoints..

    I have a version of site before WP 3.9 upgrade so can go back there until fixed, but would help soon. Willing to help however I can.

  4. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    Great info, thanks, I'll check it tonight and get back to you.

  5. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    Can you do me a favor, in your WP 3.9 install, deactivate LeagueManager and see if you still have issues with IE 8 and let me know. Hopefully with Microsoft officially putting IE8 on end of life status as of April 8, users will start upgrading. I just realized I have an old laptop with Vista on it, I can install IE8 on that for real testing...

  6. stylinjimp
    Member
    Posted 1 year ago #

    Yes it does not crash when League Manager disabled.

    I have a new issue. Seems like I am not getting full schedule using mode=all short code anymore. Only showing next weeks schedule. WP 3.9, LM 3.8.9.

    Any known issues?

  7. stylinjimp
    Member
    Posted 1 year ago #

    Same issue as here:

    http://wordpress.org/support/topic/all-games?replies=10

    I am having same problem and I'm scared to change shortcode.php since someone had an issue with it.

    Let me know if you need help with test environment. My client is a little upset because their season just started, and the Schedule was fully visible until upgrade to 3.9. I really can't rollback so hoping for a fix.

  8. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    Any chance you can give me admin access so I can see what's happening. This isn't an area I've had issues with...

  9. stylinjimp
    Member
    Posted 1 year ago #

    Yes I will let you work in the environment. Maybe we can do screen share at same time so I can show you the issue also.

    Please email me at tradeyourstuff@hotmail.com and we can arrange that. Don't want to post admin credentials here in public forum.

    Jim

  10. stylinjimp
    Member
    Posted 1 year ago #

    I have a work around!

    Assuming you are using match days, use this short code for each individual match day.

    [matches league_id=4 match_day=1]

    [matches league_id=4 match_day=2]

    [matches league_id=4 match_day=3]

    Full Schedule then shown.

    See http://burlingtonstampeders.com/atom-a-schedule/

  11. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    Download the new shortcode.php file and you will get the full match list. Small issue with the previous version was preventing it to work right, should be fixed now... Once I know it's OK I'll put out a full release.

  12. stylinjimp
    Member
    Posted 1 year ago #

    Can I ask one more question?

    I am trying to add a League like NFL..

    4 Divisions

    But teams play outside of their Divisions. So the problem is that I need standings for each Division, but Schedule and Matches that allows me to select teams in multiple divisions when creating matches. Up until now, I had leagues where where I only had teams in a league that played each other. Never matches across multiple divisions.

    How can I accomplish this?

  13. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    I added that functionality recently, but its some code that I haven't released yet. Most of the internal code that's needed is already in place, but on the league settings page there's a checkbox that allows for matches outside the group. When you go to add a match team one will be just teams in the group you are currently working in, team two will be all teams in the league. It works well, I wrote it in last year so I could use it for a basketball site I was working on. I don't have anything written in for out-of-league standings, but I planned on adding it at some point in the near future.

  14. stylinjimp
    Member
    Posted 1 year ago #

    I will look for this feature. One more question if you don't mind..

    My client is not pleased that ties are counted as 0 pts and wins are counted as 1 point. They want ties to be 1 point and wins to be 2 points. Any quick way for me to change this? It is a US Football League.

  15. mattmedvecz
    Member
    Posted 1 year ago #

    i recently added the league manager plugin for a hockey league i run. its a simple 4 team league. i was wondering if instead of the "match" label i could change that to "game". i do not know how to change that feature. is it possible, and if so what should i do?

  16. stylinjimp
    Member
    Posted 1 year ago #

    I figured out my last question by using User Defined Points. It works Well!!

    One major issue :)

    When I update the standings for the first week of a league, it works, but then there are 0's in the results for all unplayed games below. The next time I submit scores, I get a 8 ties added to the database (all 0's are inputed as scores). I tried updating standings, then reloading the league, but 0's are still there. I thought I saw an article on this somewhere.

    Is there a fix?

  17. stylinjimp
    Member
    Posted 1 year ago #

    FYI. The original issue on this thread is resolved. Thank you.

  18. stylinjimp
    Member
    Posted 1 year ago #

    Found solution to 0's. Thanks!

  19. charlydonc
    Member
    Posted 1 year ago #

    Hello stylinjimp,
    I have the same issue with o-o-o-o and when i try to upload a new score, it does not update, even try to do it from php myadmin.
    How did you fix this?
    Sorry to polute the thread with non related issue to the subject

  20. stylinjimp
    Member
    Posted 1 year ago #

    In matches.php, go to line 71 and remove the 0s as such:

    $match->home_points : 0)
    change to
    $match->home_points : '')
    (two single quotes)

    $match->away_points : 0)
    change to
    $match->away_points : '')

    Then clear out the 0s in your scores for unplayed matches.

  21. stylinjimp
    Member
    Posted 1 year ago #

    Hi Lamonte,

    Any idea why the 7th place team is ahead of 8th place team yet 8th place has one point?

    See here

    http://burlingtonstampeders.com/jv-varsity-standings/

  22. stylinjimp
    Member
    Posted 1 year ago #

    Hi Lamonte,

    When will the feature for allowing teams to play outside of their Division?

    Is there a way I can accomplish this from the back end?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • LeagueManager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.