WordPress.org

Ready to get started?Download WordPress

Forums

Help With Unexpected T_String (5 posts)

  1. Amanda Rush
    Member
    Posted 8 years ago #

    Shalom all:

    While reworking the wp-email plugin, I encountered the following:

    Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/arush/public_html/wp-email.php on line 79

    I'm aware of what the error means, and have tried looking for the stray token in my code, but I seem to be missing the forest for all the trees.
    The lines of code in question are:

    get_header();
    echo '<div id="content" class="narrowcolumn">'.$mail->ErrorInfo.'</div>';

    Would anyone be able to point out there the error is?
    Thanks in advance.
    You can email me at

  2. Look on the previous couple lines as well.

  3. Amanda Rush
    Member
    Posted 8 years ago #

    The code I posted is from lines 78-79. I've also looked at lines 70-77, and am not seeing anything, which of course doesn't mean it's not there. Would it help if I posted those lines as well?I could also put up a page with the code so that the whole thing can be foewed, although it seems to be OK up to those lines.

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Please only post code at the pastebin:
    http://paste.uni.cc
    is one place, then link it from here.

  5. Yeah, might as well dump the whole file's code there or at Pastebin.

Topic Closed

This topic has been closed to new replies.

About this Topic