Support » Fixing WordPress » Parse error: syntax error…no access to blog

  • Resolved musicisokay


    I just installed the WPML Multilingual CMS plug-in and now I have no access to my blog, the browser shows only this:
    Parse error: syntax error, unexpected $end in /var/www/web615/html/musicisokay/wordpress/wp-content/themes/Absolutely/functions.php on line 74 (
    I’m pretty sure I’m using the latest wp-version, since I updated wp two weeks ago.
    Can someone please help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau


    Volunteer Forum Moderator

    Looks like there’s an error in your functions.php file on line 74.
    Can you open that file and see what’s in there? If you can, can you go to pastebin and share the code with us?

    If line 74 is the end of the file and if there’s a closing ?> tag, just delete it and reupload it.

    You’ll need to do this via FTP.

    Thanks a lot, it took me a while to find the file, but deleting the following code solved the problem:

    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( 150, 150, true );

    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>

    <div class=”thumbnail”>
    <?php the_post_thumbnail(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error…no access to blog’ is closed to new replies.