TheCartPress eCommerce Shopping Cart
[resolved] Plugin error when installing CartPress (2 posts)

  1. taylorpta
    Posted 3 years ago #

    Any help is greatly appreciated..
    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();


  2. taylorpta
    Posted 3 years ago #

    Fixed it myself .. I upgraded to the most recent version of WordPress and set my host to use PHP 5 (it was defaulting to 4) and everything works now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.