PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Cannot Activate Plugin -- Parse Error

  1. jajo
    Member

    I cannot activate the Gravity Forms plugin -- getting the following error:

    Parse error: syntax error, unexpected T_PUBLIC in [path]/gravityforms.php on line 2270

    The failed line of code:
    public static function lead_detail_grid($form, $lead){

    I am indeed running MySQL 5, PHP5+, WP 2.8+ (though, of note, I tried to install the Requirements Checker plugin, and it would never actually show up in my plugin list... no idea, lol). This is running on a Mac OSX server. I haven't had any problems with any other plugins, before.

    Perhaps there is simply a php setting that needs enabled? (I'm somewhat unfamiliar with PHP -- 10 years experience in web dev otherwise, though)

    Thanks for the assistance!

    Edit: Also, I tried disabling all other plugins, to no avail.

    Posted 14 years ago on Tuesday October 6, 2009 | Permalink
  2. Hey Jajo, this is an issue that appears in some web server configurations and has to do with a few stray instances of PHP code where we used the short form <? instead of <?php when outputting code.

    We have fixed this in the 1.2 BETA release. You can either download this brand new 1.2 BETA release, or I can send you a fix for the 1.1.3 version if you would like.

    It's your call.

    Here is the details on the 1.2 BETA release:

    http://www.gravityhelp.com/gravity-forms-v1-2-beta-now-available/

    You can download it from the Downloads page if you want to go that route. Or I can send you a fix for the 1.1.3 version as I mentioned above.

    Posted 14 years ago on Tuesday October 6, 2009 | Permalink
  3. jajo
    Member

    If you could send us the fix for the current production version, that would be great (this is going on a client site, so would prefer something that is not a Beta). Thanks a ton.

    Posted 14 years ago on Tuesday October 6, 2009 | Permalink
  4. Just sent you an email with an updated version of the plugin. Let me know how it goes. Thanks!

    Posted 14 years ago on Tuesday October 6, 2009 | Permalink

This topic has been resolved and has been closed to new replies.