• Resolved Trish

    (@trible)


    Tried updating your plugin from v1.0.14 to v1.0.15 and received an error prompt as follows:

    Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) (line 378)

    Have now disabled it using FTP access and will NOT be updating your plugin on other sites until this is resolved.

    Thank YOU in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Hey @trible!

    Is there a filename with that error message?

    Plugin Author Till Krüss

    (@tillkruess)

    Aha. It’s the ::class notation. You can fix it by upgrading to PHP 5.5 or higher.

    Our servers run PHP 5.4 currently, so this has made the site unusable with this plugin. #disabling #deleting

    You may want to also consider updating your plug-in data to avoid others having the same issue.

    Version: 1.0.15
    Author: Till Krüss
    Last Updated: 21 hours ago
    Requires WordPress Version: 2.0 or higher
    Compatible up to: 5.1
    Requires PHP Version: 5.3 or higher
    Active Installations: 100,000+
    WordPress.org Plugin Page »
    Plugin Homepage »

    Plugin Author Till Krüss

    (@tillkruess)

    I released v1.0.16 shortly after this report which fixes the issue for people using PHP 5.3 and 5.4.

    For some reason it’s not showing up as the default version.

    Plugin Author Till Krüss

    (@tillkruess)

    Ah, I forgot to set the “Stable tag” to v1.0.16. It’s live now.

    Thread Starter Trish

    (@trible)

    You were SO right Till, updating to 5.6 worked… THANK YOU!!!!!

    Plugin Author Till Krüss

    (@tillkruess)

    @trible: Happy to hear that, but thanks for the report so other people don’t run into it with v1.0.16 👍🏻

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or v’ is closed to new replies.