• Resolved alexandrpd

    (@alexandrpd)


    In some of my projects, I get an error message when activating the plugin:

    Parse error: syntax error, unexpected ‘finally’ (T_STRING), expecting catch (T_CATCH) in …./wp-content/plugins/wp-mybackup/class/lib/LogFile.php on line 193

    wp – 4.7.2
    php – 5.4.4-14

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eugen Mihailescu

    (@eugenmihailescu)

    You should update your PHP to v5.5+.

    A quick fix would be to comment the following lines within LogFile.php as below:

    • line 181: try {
    • line 193: } finally {
    • line 195: }

    Another option would be to use the previous version of this file (v1.0-2) which can be downloaded from the project’s SVN repo:
    https://plugins.svn.www.ads-software.com/wp-mybackup/tags/1.0-2/class/lib/LogFile.php

    The plugin would still work. The v1.0-3 will additionally take care of some unusual situations which you might not encounter anyway. So it would be safe to use the prior version of this file.

    Until an official hotfix is prepared please try any of the above.

    Thread Starter alexandrpd

    (@alexandrpd)

    Thanks, plugin works. I used logfile.php from v1.0-2.

    Plugin Author Eugen Mihailescu

    (@eugenmihailescu)

    Great. It will be automatically detected & fixed in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error’ is closed to new replies.