• Resolved YacaZG

    (@yacazg)


    Hello,

    After instalaltion plugin can’t be enable because:

    Parse error: syntax error, unexpected T_FUNCTION in /mitri/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 311

    Any advice?

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

    (@jules-colle)

    is the latest version of contact form 7 installed? have you tried uninstalling and reinstalling both cf7 and conditional fields for cf7?

    can you activate the plugin after switching to another theme or after disabling all other plugins except cf7?

    Thread Starter YacaZG

    (@yacazg)

    yes, this is a last version of CF7: 4.5.1
    yes, uninstall and install again both plugins
    I can activate conditional fields, because of error
    I don’t have any pther theme, and I cant switch

    Plugin Author Jules Colle

    (@jules-colle)

    Aha, it’s probably because you are using a PHP version older than 5.3. There is a piece of code that is only supported since PHP 5.3

    I will update the code to make it work for older PHP versions. Meanwhile, if possible, you could try and upgrade PHP on your server.

    Plugin Author Jules Colle

    (@jules-colle)

    Should be fixed in version 0.2.1 Please update and let me know if it is.

    Thread Starter YacaZG

    (@yacazg)

    Yes, it’s work now.
    Thanks

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