• Resolved ondi

    (@ondi)


    When activating, I get the following error: “Plugin could not be activated because it triggered a fatal error”

    `Parse error: syntax error, unexpected ‘[‘ in /home/sites/SITEURL/public_html/wp-content/plugins/the-soccer-stats/the-soccer-stats.php on line 143’

    https://wordpress.org/plugins/the-soccer-stats/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author lepileppanen

    (@lepileppanen)

    Hi,

    I’m not able to reproduce this. Also line 143 in the code seem to be ok.

    Everything else is working in your environment?

    Thread Starter ondi

    (@ondi)

    I’ve just worked it out – it is because I am using PHP 5.5. I have tested it on PHP 5.6 and is working fine.

    I will have to change my host to use PHP 5.6.

    While I’m here, is there any way of transferring all my stats from tplSoccerStats?

    Many thanks

    Plugin Author lepileppanen

    (@lepileppanen)

    Hi,

    Good to hear it got solved. I’ll have to check this with 5.5 as it’s quite common php version at the moment.

    Unfortenately there’s no proper way to move your data. If you’re able to get data from tplsoccerstats to csv format, there is csv importer plugin that you can use to bring some of the data.

    Plugin Author lepileppanen

    (@lepileppanen)

    ok…it seems that this plugin requires at least php version 5.4…

    http://stackoverflow.com/questions/17772534/php-difference-between-array-and
    “[] is supported in PHP >= 5.4”

    Plugin Author lepileppanen

    (@lepileppanen)

    This is now fixed in 1.01 version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error when activating’ is closed to new replies.