• Resolved nicko62

    (@nicko62)


    I’ve tried installing the plugin three times and it keeps crashing the site I am working on. Here’s the error I get:

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/content/48/3774848/html/wp-content/plugins/constant-contact-forms/includes/widgets/contact-form-select.php on line 121

    Any suggestions?

    Thank you for your time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What version of PHP are you running at the moment? That line is at a point where we use an anonymous function, which is going to be PHP version 5.3 and up. Other parts of the plugin are going to require PHP5.4, which is the minimum version we require.

    That said, if you’re able to get that far, I need to check on how it’s loading things, because we try to prevent loading anything if version 5.4 isn’t met.

    Thread Starter nicko62

    (@nicko62)

    I’ve removed the previous Constant Contact widget plugin (the one that expires tomorrow). I’m using an old, customized theme. Any help appreciated!

    Thread Starter nicko62

    (@nicko62)

    Apparently I was running PHP 5.2 I’ve just updated it via GoDaddy to 5.4 and will try to activate the plugin again. Thank you!

    Thread Starter nicko62

    (@nicko62)

    Yikes… Below is what I got this time. I’ll have to work on this more tonight. Going through ftp to delete the plugin now.

    Warning: include_once(/home/content/48/3774848/html/wp-content/plugins/constant-contact-forms/constant-contact-forms.php) [function.include-once]: failed to open stream: Stale file handle in /home/content/48/3774848/html/wp-settings.php on line 273

    Warning: include_once() [function.include]: Failed opening ‘/home/content/48/3774848/html/wp-content/plugins/constant-contact-forms/constant-contact-forms.php’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/content/48/3774848/html/wp-settings.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-login.php on line 402

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-login.php on line 415

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 914

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 915

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 916

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 917

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 918

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 919

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 922

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 923

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 924

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 925

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 928

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 929

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 930

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 931

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/48/3774848/html/wp-settings.php:273) in /home/content/48/3774848/html/wp-includes/pluggable.php on line 1174

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not quite sure what’s going on with that one, first time I can recall seeing this for a PHP error: “failed to open stream: Stale file handle”. Hopefully a fresh install of the plugin helps, but I can’t say I can make any guarantees. May be a situation needing GoDaddy Support to resolve.

    Thread Starter nicko62

    (@nicko62)

    It worked! Thank you for your help, Michael.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Awesome to hear @nicko62. Thanks for following up with this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin Crashes site: Parse Error’ is closed to new replies.