Support » Fixing WordPress » Can’t get rid of this parse error locally

  • I have a blog online that works fine, but as soon as I try and use the theme locally I always get a parse error that I can’t figure out how to fix.

    Is there anything I can do to try and figure out what’s causing it compared to the www version?

    I’ve tried deactivating all plugins, and still get the error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It might help if you actually told us what the parse error is and/or where.

    I know but it doesn’t tell me anything besides parse error on line 45 on single.php (or index.php if I’m on the homepage).

    I’ve been able to get the page to load by removing some if/then statements for custom fields as well as one I have that shows some code on the page if a cookie is set.

    These both work on the web, but not locally….I’m wondering if maybe there is something with the way the web server is configured that’s not letting it work.

    I can post the specific code I’m removing to make it work if that helps?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t get rid of this parse error locally’ is closed to new replies.