Parse error: syntax error, unexpected 'echo' (T_ECHO)

4 replies
I am getting this error showing up at the bottom of my website where the footer should be. Below is the error:

Parse error: syntax error, unexpected 'echo' (T_ECHO) in /home/jloles9232014/public_html/collectiblesanddecorations.com/wp-content/themes/mystile/footer.php on line 33

This is an ecommerce site I am constructing using wordpress, woocommerce and the theme Mystyle.

See Attached File
#echo #error #parse #syntax #techo #unexpected
  • Profile picture of the author KirkMcD
    Originally Posted by Sozo777316 View Post

    <?

    php echo esc_url( __(
    These lines probably should be

    <?php echo esc_url( __(
    {{ DiscussionBoard.errors[9775157].message }}
    • Profile picture of the author Zenoth
      Try this file. Don't forget to save it with .php extension.
      {{ DiscussionBoard.errors[9775375].message }}
  • Profile picture of the author Sozo777316
    Thank you after that fix it moved to line 39.

    ); ?>"><?php printf( __( 'Proudly powered by

    %s', 'twentyfourteen' ), 'WordPress' ); ?

    ></a>
    Please note by moving the preceeding up to the back of the Question mark I now have my footer and no error.

    Thank you. Jackie
    {{ DiscussionBoard.errors[9775373].message }}
  • Profile picture of the author Sozo777316
    Thanks for your imput. I replaced the file with what you sent me. I had gotten it fixed before I saw you reply. I had fixed it earlier. The site looks fine. I just need to change my background color as soon as I find where to do that.

    Again thank you for your help.

    Jackie Tedford
    {{ DiscussionBoard.errors[9775593].message }}

Trending Topics