Title: Plugin error when installing CartPress
Last modified: August 21, 2016

---

# Plugin error when installing CartPress

 *  [taylorpta](https://wordpress.org/support/users/taylorpta/)
 * (@taylorpta)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-when-installing-cartpress/)
 * I am getting the following error when I try to install the CartPress plugin:
   **
   Plugin could not be activated because it triggered a fatal error.**
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /hermes/bosoraweb094/b2206/ipw.taylorpt/public_html2/onecheck/
   wp-content/plugins/thecartpress/TheCartPress.class.php on line 52
 * Here is line 50-56 of TheCartPress.class.php:
 * class TheCartPress {
 *  public static $tcp_shoppingCart = false;
    public $settings = array();
 *  private $saleable_post_types = array();
    private $globals = array();

Viewing 1 replies (of 1 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-when-installing-cartpress/#post-3934730)
 * Please use the sub-forum for that plugin:
 * [http://wordpress.org/support/plugin/thecartpress](http://wordpress.org/support/plugin/thecartpress)

Viewing 1 replies (of 1 total)

The topic ‘Plugin error when installing CartPress’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-when-installing-cartpress/#post-3934730)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
