Title: Coding: hooks.php Parse, syntax error
Last modified: August 22, 2016

---

# Coding: hooks.php Parse, syntax error

 *  Resolved [lisasweddingworld](https://wordpress.org/support/users/lisasweddingworld/)
 * (@lisasweddingworld)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/coding-hooksphp-parse-syntax-error/)
 * My webhost engineers have advised that the issue appears to be my .htaccess file–
   it has additional rewrite rules in it, possibly from another WP plugin, that 
   are incorrect
 * They have commented them out so only the default WP rules are in the file.
 * The logs currently show the following:
 * PHP Parse error: syntax error, unexpected $end in /mnt/website/standard/l/i/lisasweddingworld.
   com/web/wp-content/themes/omega/lib/hooks.php on line 405
 * Can someone please help? I cannot log in to my site at all?

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

 *  [hardcab](https://wordpress.org/support/users/hardcab/)
 * (@hardcab)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/coding-hooksphp-parse-syntax-error/#post-5412208)
 * You are missing the closing curly bracket **}**
 *  Thread Starter [lisasweddingworld](https://wordpress.org/support/users/lisasweddingworld/)
 * (@lisasweddingworld)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/coding-hooksphp-parse-syntax-error/#post-5412209)
 * Thanks, but I deleted church and omega from the themes folder in FTP and my default
   site came back to let me log in. I re-installed the church theme then.

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

The topic ‘Coding: hooks.php Parse, syntax error’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)

 * 2 replies
 * 2 participants
 * Last reply from: [lisasweddingworld](https://wordpress.org/support/users/lisasweddingworld/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/coding-hooksphp-parse-syntax-error/#post-5412209)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
