Title: Parse error: syntax error, unexpected &#039;define&#039; (T_STRING) in /home&#8230;..
Last modified: August 31, 2016

---

# Parse error: syntax error, unexpected 'define' (T_STRING) in /home…..

 *  [mkudev](https://wordpress.org/support/users/mkudev/)
 * (@mkudev)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-define-t_string-in-home/)
 * Parse error: syntax error, unexpected ‘define’ (T_STRING) in /home/simona88/public_html/
   wp-config.php on line 66
 * Hello guys, I know this error is very usual but i goin crazy for fix.
 * The code line 66 is:
 * **define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’ );**
 * I have tried:
 * 1) Disable all plugins and themes
 * 2) Rename the “wp-config-sample” to ” wp-config” ( only filled the database “
 * Hope you can help me.
 * Thanks ( sorry for my english)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mkudev](https://wordpress.org/support/users/mkudev/)
 * (@mkudev)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-define-t_string-in-home/#post-7338689)
 * Also i have tried with “FALSE” and “TRUE”
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-define-t_string-in-home/#post-7338691)
 * Best guess based on not seeing the rest of the file (please don’t post it, as
   it has security-sensitive info in it) is a missing semi-colon at the end of the
   previous statement: line 65 or earlier, depending on the use of blank lines and
   comments.
 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-define-t_string-in-home/#post-7338693)
 * I’m not sure but it could also be caused due to the curly quotes, if you’re using
   them in wp-config.php file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Parse error: syntax error, unexpected 'define' (T_STRING) in /home…..’
is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-define-t_string-in-home/#post-7338693)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
