Support » Theme: Hoffman » Sytanx Error –

  • Resolved lisabensel

    (@lisabensel)


    Hey Anders, I use your Hoffman Theme for several years now and really appreciate it, it’s easy, clear, smooth. Thanks a lot for that!

    After the last update (version 1.22) I had some troubles with the blogposts/indexfile, maybe you or anybody else experiencing the same can help..
    It started with a syntax error, a :, in the ‘recent posts’ php causing the whole site to be inaccessible which I managed to solve, I guess. (replacing ?: with ?>). But the page entitled ‘news’, displaying some blogposts, remains to have troubles.

    It starts with

    Parse error: syntax error, unexpected ‘:’ in C:\domains\lisabensel.com\wwwroot\wp-content\themes\hoffman\index.php on line 10

    After replacing the ?: in line 10 with ?> the error changes to
    Parse error: syntax error, unexpected T_ENDIF in C:\domains\lisabensel.com\wwwroot\wp-content\themes\hoffman\index.php on line 33

    and that’s where google couldn’t help me any further, and my experiments went wrong, having zero experience with php. without success I went back in time to several older versions, downloaded the latest version of the theme to replace both index and recent posts php with fresh versions via ftp, went back to the recent update… and run in circles.

    Help! I would appreciate some ideas (or knowledge about this ‘Endif’ and how to deal with it) a lot, because I definetly like to keep this awesome theme.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Sytanx Error –’ is closed to new replies.