WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
PHP Warnings, Notices, etc. (6 posts)

  1. angelleye
    Member
    Posted 3 months ago #

    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?

    https://wordpress.org/plugins/leaguemanager/

  2. cheche
    Member
    Posted 2 months ago #

    @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:
    https://plugins.svn.wordpress.org/leaguemanager/trunk

  3. angelleye
    Member
    Posted 2 months ago #

    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.

  4. cheche
    Member
    Posted 2 months ago #

    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.

  5. angelleye
    Member
    Posted 2 months ago #

    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

  6. cheche
    Member
    Posted 2 months ago #

    Well,
    one error gone nice :-)
    Is the point rules set to tennis?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.