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.

Fatal error when activating plugin

  1. dveiga
    Member

    I have the latest 1.4.5 version and am trying to activate the plugin but I get the following error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/6/j/m6johnson/html/npc/wordpress/wp-content/plugins/gravityforms/gravityforms.php on line 59

    This is on a new wordpress install

    Posted 14 years ago on Monday November 15, 2010 | Permalink
  2. This error typically happens because of a PHP version conflict.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /.../../../wp-content/plugins/gravityforms/gravityforms.php on line..

    Gravity Forms requires PHP5+ and judging from this error you are probably trying to activate the plugin on a site running PHP4. Check with your web host and make sure you have PHP5 enabled.

    http://www.gravityhelp.com/frequently-asked-questions/#faq_installation

    http://forum.gravityhelp.com/search.php?q=unexpected+T_STRING

    Posted 14 years ago on Monday November 15, 2010 | Permalink