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

  • Resolved ianchard

    (@ianchard)



    Hi,

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

    PHP Parse error: syntax error, unexpected ':' in /var/www/rainbow.chard.org/wp-content/themes/lovecraft/image.php on line 49

    The line in question reads:

    if ( $excerpt : ?>

    Cheers
    – Ian

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

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

    (@subrataemfluence)

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

    ianchard

    (@ianchard)

    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

    (@anlino)

    Hi guys,

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

    — Anders

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.