WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Twitter Pitch] PHP error processform.php line 26

[Plugin: WP Twitter Pitch] PHP error processform.php line 26

  • This is a terrific plugin and I’d love it to bits if I could solve an error that prevents it working.

    When I invoke the dialog, complete the text box, do the anti-spam calc and click the submit button, I get this error line:

    Parse error: syntax error, unexpected ‘<‘ in /[path]/wp-content/plugins/wp-twitterpitch/processform.php on line 26

    The only text on line 26 is this:

    <?php

    Any idea of how to fixc this?

    My setup is fine for this plugin including running PHP 5.2.3. I have WOP 2.5.1 installed.

    Thanks.

    http://wordpress.org/extend/plugins/wp-twitterpitch/

Viewing 5 replies - 1 through 5 (of 5 total)
  • livibetter
    Member

    @livibetter

    just remove line 26 should work.
    (seen your problem via your twitter on friendfeed)

    Thanks.

    Ok, I did that. Now it works! Not in a very elegant way, though, as when I click submit, nothing seems to happen. So I click it again 🙂 Still nothing. Did the form get submitted? No way to tell.

    But it did as I then got the email. Twice 🙂

    I would have thought that a successful click submit action should result in the dialog closing automatically. But it doesn’t.

    If it’s simple to fix, I’ll have a go myself. PHP is not my area so any suggestion on what’s needed here?

    Thanks again.

    livibetter
    Member

    @livibetter

    I couldn’t help you further since I don’t use WP anymore. (I actually didn’t read the code, but line 26 is easy to spot for a workaround.)

    You should contact the developer for the bugs.

    Yes, that makes sense.

    Thanks.

    Aaron Brazell
    Member

    @technosailor

    Are there any errors in the Javascript error log to speak of? It sounds like we’ve got a JS collision somewhere.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Twitter Pitch] PHP error processform.php line 26’ is closed to new replies.