Title: [Plugin: Restrict Categories] parse error when activating
Last modified: August 19, 2016

---

# [Plugin: Restrict Categories] parse error when activating

 *  [wkuwebmaster](https://wordpress.org/support/users/wkuwebmaster/)
 * (@wkuwebmaster)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-restrict-categories-parse-error-when-activating/)
 * I am getting a parse error when trying to activate Restrict Categories plugin.
 * > Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or 
   > T_FUNCTION or T_VAR or ‘}’ in /var/www/html/wp-content/plugins/restrict-categories/
   > restrict-categories.php on line 30
 * I am using php 4.3.9. We plan on upgrading to php 5 soon – but wondering if this
   is supposed to be compatible with php 4.
 * Using WordPress 3.1.2 with a network (multisite) install.
 * Any help would be much appreciated, this plugin looks to be exactly what I need.

Viewing 1 replies (of 1 total)

 *  [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-restrict-categories-parse-error-when-activating/#post-2067272)
 * This error means you need PHP 5. Once you upgrade, you should be fine 🙂

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Restrict Categories] parse error when activating’ is closed 
to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-restrict-categories-parse-error-when-activating/#post-2067272)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
