Title: Parse Error: Syntax Error &#8211; Please help!
Last modified: August 19, 2016

---

# Parse Error: Syntax Error – Please help!

 *  [amacrae](https://wordpress.org/support/users/amacrae/)
 * (@amacrae)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-please-help/)
 * I am new to the WordPress world and I already need help!
 * My blog is located at: [http://www.alliemacrae.com/](http://www.alliemacrae.com/)
 * I tried to play with the theme and now this error appears:
    Parse error: syntax
   error, unexpected ‘=’ in /homepages/36/d316805181/htdocs/wordpress/wp-content/
   themes/hope/functions.php on line 57
 * I cannot open my blog, etc. I tried re-loading the theme and admin sections through
   FTP but this has not helped.
 * The full code is:
 * [**Mod Note:** Code segment removed. If you want to post large blocks of code,
   please use a [pastebin](http://wordpress.pastebin.ca/) [(Alternate URL)](http://wordpress.pastebin.com/).
   Thanks!]
 * ***Does anyone know how to fix this?
 * Thanks so much!

Viewing 1 replies (of 1 total)

 *  [mrmist](https://wordpress.org/support/users/mrmist/)
 * (@mrmist)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-please-help/#post-1586920)
 * `while( list( $key, $photo ) = each( $items ) ) {`
 * Not entirely sure if this is the error, but think that that should be a comparative
   =
 * `while( list( $key, $photo ) == each( $items ) ) {`

Viewing 1 replies (of 1 total)

The topic ‘Parse Error: Syntax Error – Please help!’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [mrmist](https://wordpress.org/support/users/mrmist/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-please-help/#post-1586920)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
