Support » Theme: Lovecraft » Syntax error in image.php

  • Resolved ianchard



    I’m seeing these messages in my webserver’s error log:

    PHP Parse error: syntax error, unexpected ':' in /var/www/ on line 49

    The line in question reads:

    if ( $excerpt : ?>

    – Ian

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Subrata Sarkar


    From what you wrote it is clear that the closing parenthesis is missing!
    It should be
    if( $excerpt ) : ?>



    Thanks! I made that change and it fixed the problem.

    Presumably it still needs to be fixed in the code base though.

    Theme Author Anders Norén


    Hi guys,

    This has been fixed in the latest version of the theme.

    — Anders

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syntax error in image.php’ is closed to new replies.