Support » Plugin: LeagueManager » PHP Warnings, Notices, etc.

  • I’m getting loads of PHP warnings and notices (on my test server, of course) when running this plugin. Any plans of getting that stuff fixed up? This thing looks promising, but I always hesitate to use anything when I see all of these types of warnings and notices. No offense, but that generally points to sloppy development.

    Do you have this thing on GitHub?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @angelleye,
    Please describe with more detail the errors if you want someone to help you. Maybe is a problem on your environment?, how do we know if you have not describe those errors.

    you can get the code there:

    Drives me crazy when people post messages like that without any detail, and then here I went and did the same thing. Sorry about that.

    Here’s one that I’m seeing…

    Notice: Undefined property: stdClass::$num_sets in /home/angelley/sandbox_woocommerce/wp-content/plugins/leaguemanager/sports/tennis.php on line 438

    and the same thing again on line 453.

    That happens under the Match Plan section of the league details page.

    I remember seeing a few other things like that as I was playing around with this originally, but I really haven’t spent much time with it yet.

    Sorry to come off rude in the original post, and again for not including detail originally.

    Could you check “the number of set” on the league settings? Looks like when you change the league type that property do not get populate in any way.

    Ok, I went into the Preferences for the league and the Number of Sets was blank. I set that to a 5, and saved.

    Now when I click into the league details I get this line 10 times in a row:

    Notice: Undefined property: stdClass::$sets in /home/angelley/sandbox_woocommerce/wp-content/plugins/leaguemanager/sports/tennis.php on line 454

    Also, when I click into the league preferences I see this in front of the Tie Games lable…

    Notice: Undefined index: tie in /home/angelley/sandbox_woocommerce/wp-content/plugins/leaguemanager/admin/settings.php on line 146

    one error gone nice 🙂
    Is the point rules set to tennis?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Warnings, Notices, etc.’ is closed to new replies.