Football Pool
[resolved] 2.3.2 synax error (8 posts)

  1. pjbursnall
    Posted 2 years ago #

    Latest version of this plugin does not work - returns following error when activated:

    Parse error: syntax error, unexpected ')', expecting ',' or ';' in /home/xxxx/public_html/xxxx/wp-content/plugins/football-pool/widgets/widget-football-pool-group.php on line 61

    2.3.1 works fine. I have tested latest version on 2 vanilla WordPress installs and the same error is returned.



  2. hongkit99
    Posted 2 years ago #

    Encountered the same error. Any idea to fix it?


  3. Faresaldo.com
    Posted 2 years ago #

    But did the calculations and ranking work properly for you with version 2.3.1? I think there's a major calculations problem starting with verseion 2.3.0.

  4. studavis
    Posted 2 years ago #

    Same here, 2.3.1 worked fine (well the install worked fine - didn't do any calculations), but I'm getting the same error above on upgrade to 2.3.2. Also gives me no access to /wp-admin/ too with this error.

  5. Faresaldo.com
    Posted 2 years ago #

    Just in case any of you would like to revert back to the last properly working version:

    UPDATE: Anyone having the same problem as above.. there is no way you would be able to resolve it.. there is obviously a serious bug in the ranking calculation starting with version 2.3.0

    As far as I'm concerned.. if you didn't keep a database backup from version 2.2.5 then you're probably stuck until the author resolves the problem and releases a new version..

    Otherwise, if you kept a backup.. then do the following to resolve all your problems:

    1) Download the old script version here http://downloads.wordpress.org/plugin/football-pool.2.2.5.zip
    2) Unzip the folder on your local computer
    3) Upload the folder to /public_html/yourwebsite.com/wp-content/plugins (overwriting version 2.3.x)
    4) Go to PhpMyAdmin from your Cpanel and import the database you backed up before all the 2.3.x versions were released

    Now you should be fine...

  6. AntoineH
    Plugin Author

    Posted 2 years ago #

    The error is fixed. Some unfinished changes got mixed in the trunk code by mistake.

    line 61 of the file widgets/widget-football-pool-group.php should be:
    echo apply_filters( 'footballpool_widget_html_group', $output );

  7. Faresaldo.com
    Posted 2 years ago #

    So if I do an upgrade now.. would the above correction be included in the file.. or should I still make the change manually after the upgrade?

  8. AntoineH
    Plugin Author

    Posted 2 years ago #

    Version 2.3.3 contains the fix. The remark is for people who don't want to upgrade.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Football Pool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.