Title: parse error syntax error unexpected $end
Last modified: August 20, 2016

---

# parse error syntax error unexpected $end

 *  [lexomax](https://wordpress.org/support/users/lexomax/)
 * (@lexomax)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-16/)
 * I know this error has been discuses a few times but I searched all the topics
   and have not been able to solve the issue that I’m having when installing a plugin.
 * The error is:
 * Parse error: syntax error, unexpected $end in /home/postalmg/public_html/*****/
   wp-content/plugins/booking/lib/wpdev-booking-functions.php on line 862
 * I’ve read a lot responses to this sort of parse error and some say that short_open_tag
   should be enabled in php.ini. Surprisingly it is enabled on my server but I still
   get this error.
 * This plugin is working fine on another server with WP 3.3.1 on the server that
   it doesn’t work on I tried with WP 3.3.1 as well as 3.4.1 to no avail.
 * Any help is appreciated.

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

 *  Thread Starter [lexomax](https://wordpress.org/support/users/lexomax/)
 * (@lexomax)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-16/#post-2871384)
 * Maybe I should also include this (wpdev-booking-functions.php)….
 * _[ 821 lines of code moderated, that’s just way too much. [For that many lines of code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
   please use [pastebin.com](http://pastebin.com/) instead. ]_
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-16/#post-2871385)
 * Try deactivating booking plugin.
 * If you can’t get into your admin dashboard, try deactivating plugins manually
   via FTP or phpMyAdmin.
 *  Thread Starter [lexomax](https://wordpress.org/support/users/lexomax/)
 * (@lexomax)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-16/#post-2871386)
 * No that is not the problem but thanks for your reply. I can access everything
   just fine but I cannot activate the plugin. When I try to activate it I get the
   parse error.

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

The topic ‘parse error syntax error unexpected $end’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [lexomax](https://wordpress.org/support/users/lexomax/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-end-16/#post-2871386)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
