Title: syntax error
Last modified: April 8, 2018

---

# syntax error

 *  [davehull35](https://wordpress.org/support/users/davehull35/)
 * (@davehull35)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-181/)
 * Hi guys
 * got the following error message this when activating this plugin now i cant gain
   access to the website can you help
 * syntax error, unexpected T_FUNCTION in /home/bmcy/webapps/hjcwp/wp-content/plugins/
   types/vendor/toolset/types/embedded/admin.php on line 395
 * Thanks
 * Dave

Viewing 1 replies (of 1 total)

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-181/#post-10158276)
 * Try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
   That will allow you to access the dashboard again where you can reactivate all
   your plugins except “Toolset Types”, which is the one causing the problem.
 * As for why the issue occurred in the first place, I can see from [the source](https://plugins.trac.wordpress.org/browser/types/trunk/vendor/toolset/types/embedded/admin.php)
   that the [plugin responsible](https://wordpress.org/plugins/types/) is using 
   a feature that requires 5.3 or greater. This means that you’re probably using
   5.2. This is _dramatically out of date_. You should contact your host immediately
   to arrange updating PHP. If they refuse then you should find another host. Refusing
   to update beyond 5.2 is worth leaving a host over.
 * [This page](https://github.com/WordPress/servehappy/blob/master/DRAFT.md) has
   a good overview of what PHP is and why you should upgrade it as well as a sample
   message you can send your host.

Viewing 1 replies (of 1 total)

The topic ‘syntax error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-181/#post-10158276)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
