Title: Syntax Error
Last modified: August 21, 2016

---

# Syntax Error

 *  Resolved [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-51/)
 * I am getting this error… any suggestions
 * Parse error: syntax error, unexpected T_OBJECT_OPERATOR in D:\Hosting\8329935\
   html\kbhome\wp-content\plugins\leaguemanager\admin\admin.php on line 1440
 * [http://wordpress.org/extend/plugins/leaguemanager/](http://wordpress.org/extend/plugins/leaguemanager/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [LaMonte Forthun](https://wordpress.org/support/users/lamontef/)
 * (@lamontef)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666406)
 * Welcome Jeff…
 * I think you’re using an old version of the plugin (3.8.2 or 3.8.3), that error
   was fixed in version 3.8.4 (introduced in the version you have now), I think.
   If you’ve done any modifications to the LeagueManager code, the next few versions
   that it seems you don’t have touch a lot of files, so you might need to manually
   update so you don’t lose your mods. If you haven’t modified anything, do the 
   auto update.
 * I’ve just recently taken over the maintenance of the plug in, so there have been
   a number of bug fixes and such and most likely will continue to be in the future
   as we’ve got a lot of ideas and requests to make things better. If you’ve done
   any modifications, let me know, we’d love to see your code and determine if it’s
   something we should include in the core. If you have ideas, feel free to toss
   them out.
 * Lastly, let us know what you’re using LeagueManager for (what sport) and how 
   it’s working for you.
 * Thanks…
 *  Thread Starter [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666508)
 * The error is preventing me from logging in through WordPress. I could login through
   my hosting service but am not sure how to manually update the plugin. I am a 
   rookie at this. I have not made any modifications and have just done the updates
   to the plugin whenever it says to update it. So I am not sure how I can do this.
 * Help
 *  Plugin Author [LaMonte Forthun](https://wordpress.org/support/users/lamontef/)
 * (@lamontef)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666509)
 * Do you have FTP and SSH access to your files?
 * Right now there’s only one file that you need to worry about. You can either 
   replace that file or if you have access to a file editor through the hosting 
   service, you can do the fix below:
 * change line 1440 of the admin.php file (in the admin folder) to this:
 * $this->league = $leaguemanager->getLeague($this->league_id);
 * All you are really doing is adding a single character (the ‘$’ in front of the
   last ‘this’ was missing).
 *  Thread Starter [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666510)
 * Amazing!!! You Rock! Thanks so much
 * I do have FTP access to the files. I made the change you said and voila it worked
   perfectly again.
 * Thanks again
 *  Plugin Author [LaMonte Forthun](https://wordpress.org/support/users/lamontef/)
 * (@lamontef)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666512)
 * Excellent, glad to hear it… I’d suggest upgrading to 3.8.8.1, there are a number
   of fixes in the latest releases. I’m also going to put posting 3.8.8.2 in the
   next day or so that fixes a few more things.
 * If I can ask, what sport are you using LeagueManager for? Just curious…
 * Don’t hesitate to offer up suggested updates for your particular use, we want
   to make each sport as robust as possible and can only do so with input from those
   using the plugin…
 * Thank you for using LeagueManager…
 *  Thread Starter [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666515)
 * I have now updated to 3.8.8.1 and will do the next one as it comes out.
 * I am running a Men’s Rec Hockey League at [http://www.kaesersbisons.com](http://www.kaesersbisons.com)
 * I guess that I lied to you about not making any mods to it.
 * We do 2 pts for a win, 0 pts for a loss, 2 pts for an OT win, and 1 pt for an
   OT Loss
 * I had changed AET to OT so that it more accurately resembled out league. We do
   not use the term After Extra Time. It would be nice to be able to change this
   more easily perhaps through a check box or something.
 * One suggestion I do have is that it would be nice if the tables could display
   overtime losses. Right now, I have it calculating properly but it does not show
   the Overtime Losses in any column. If you look at this page you will see that
   there are some OTL but they do not show up in the table [http://kaesersbisons.com/?page_id=175](http://kaesersbisons.com/?page_id=175)
 * Thanks
 *  Thread Starter [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666516)
 * One more thing that I do… I use the location field to schedule my referees as
   well. It would be nice to have a separate field or some customizable fields for
   the matches.
 * Also, it would be nice to be able to switch the word Match to the word Game somehow.
   Perhaps through a checkbox or through some kind of thesauraus that once can choose
   to use. This would also apply to changing Club to Team.
 *  Plugin Author [LaMonte Forthun](https://wordpress.org/support/users/lamontef/)
 * (@lamontef)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666517)
 * Over the last week I’ve been thinking about starting to work on making version
   terms variable and tied into the ‘sport’ file, so that a contest can be a match
   or game or round or whatever.
 * You can add fields in the ‘sport’ file all you want. It’s actually quite simple
   and nothing has to be done to the database. Email me a copy of your ‘hockey.php’
   file and I’ll add it in with comments so you can see what to do if you want to
   add something later.
 * lamontef (at) yahoo (dot) com
 * Question, what are you using for the stats on your site?
 *  Thread Starter [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * (@jeffnwtgmailcom)
 * [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666518)
 * I will send it to you over the weekend. I am away from my computer right now 
   and using another one.
 * I am using TablePress. I was looking for something that integrated well but am
   not sure that this does it very well. Again, I am a rookie at this and so there
   may be something I am not doing to allow it to work smoothly… at least on the
   back end.
 * Cheers

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Syntax Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leaguemanager.svg)
 * [LeagueManager](https://wordpress.org/plugins/leaguemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaguemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaguemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/leaguemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaguemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaguemanager/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [jeff.nwt@gmail.com](https://wordpress.org/support/users/jeffnwtgmailcom/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/syntax-error-51/#post-3666518)
 * Status: resolved