WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Parse error: syntax error...no access to blog (3 posts)

  1. musicisokay
    Member
    Posted 1 year ago #

    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 (musicisokay.com)
    I'm pretty sure I'm using the latest wp-version, since I updated wp two weeks ago.
    Can someone please help?

  2. 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.

  3. musicisokay
    Member
    Posted 1 year ago #

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

    ?>
    <?php
    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>
    <div class="thumbnail">
    ">
    <?php the_post_thumbnail(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.