WordPress.org

Ready to get started?Download WordPress

Forums

Game Schedules
[resolved] Warning while adding a new game (3 posts)

  1. lero21
    Member
    Posted 1 year ago #

    Hey Mark,
    when I try to add a new game since the last upgrade, I get this before the schedule ID :

    Warning: date() expects parameter 2 to be long, string given in /home/embouled/public_html/wp/wp-content/plugins/game-schedules/includes/mstw-game-schedules-admin.php on line 200

    Warning: date() expects parameter 2 to be long, string given in /home/embouled/public_html/wp/wp-content/plugins/game-schedules/includes/mstw-game-schedules-admin.php on line 201

    On game year window :
    <b>Warning</b>: date() expects parameter 2 to be long, string given in <b>/home/embouled/public_html/wp/wp-content/plugins/game-schedules/includes/mstw-game-schedules-admin.php</b> on line <b>169</b>

    I also get the same kind a message 12 times for game month and 31 times for game day, but with a different line number at the end of the line.

    Same thing with both UNIX windows.

    But, if I try to modify a previous calendar (2012), it works fine ….

    Can you help me with this one.

    I will try to complete the french canadian translation and send it to you. Also, any idea when the coach plugin will be ready ?

    Thanks Mark,
    Ron

    http://wordpress.org/extend/plugins/game-schedules/

  2. Mark O'Donnell
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Ron,
    This one is a bit weird. If you look at the release notes, I believe you'll see I tried to fix this in the last release. It's weird because when you read the date() documentation, it calls for an int, not a long. I will take another look but if things are working you might want to just turn the WP warnings off. (They are fine for development but should not be on in a production environment.)

    As for "Coaches", I don't have a release date, partially because I got distracted with "League Standings". But I'm meeting with someone tomorrow about back-fitting some of the cool new concepts from League Standings back into Team Rosters and in theory (we'll see) the increased flexibility in the display of fields and their headings may just make it (re-)usable for Coaching Staffs as well. We shall see.

    Thanks in advance for a French Canadian translation if you get to it.

    [ Signature moderated. ]

  3. lero21
    Member
    Posted 1 year ago #

    Fixed !!
    Thanks Mark

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.