WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
[resolved] Update 3.8.0 --> .1 --> .2 Parse error when activating plugin (10 posts)

  1. tomueberall
    Member
    Posted 1 year ago #

    Had running version 3.8.0 on wordpress 3.5.1 successfully.

    When updating to 3.8.2, i just get this error when activating the plugin:

    "Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/www/wp-content/plugins/leaguemanager/admin/admin.php on line 1440"

    http://wordpress.org/extend/plugins/leaguemanager/

  2. marvinduran
    Member
    Posted 1 year ago #

    yup... I have the same problem.
    NEW wordpress install to test this plugin.

  3. marvinduran
    Member
    Posted 1 year ago #

    FIXED IT!!
    replace line 1440 with this line

    $this->league = $leaguemanager->getLeague($this->$league_id);

    it was missing a $ on the last (this->)

  4. stabiasport
    Member
    Posted 1 year ago #

    to me the same error ("Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/www/wp-content/plugins/leaguemanager/admin/admin.php on line 1440") ,
    how can I fix it?

  5. marvinduran
    Member
    Posted 1 year ago #

    did you even READ the complete post??
    I posted the solution above your question.

  6. stabiasport
    Member
    Posted 1 year ago #

    is now resolved. thanks

  7. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    If you use this:
    $this->league = $leaguemanager->getLeague($this->$league_id);

    Your exported CSV file will not be named properly as there can't be a '$' in front of 'league_id'

    The line needs to be:

    $this->league = $leaguemanager->getLeague($this->league_id);

    It will be submitted as a fix shortly.

  8. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    This issue was fixed with v3.8.4

  9. stabiasport
    Member
    Posted 1 year ago #

    Thank you for your support very essential

  10. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic