• uncharted83

    (@uncharted83)


    Hello all.

    I am having a problem with another plugin named Google Analytics Dashboard for WP, that seems to be caused by Contact Form 7.

    The plugin is having difficulties loading data to my dashboard and takes up a lot of CPU and memory power. I have, however, tracked down the error. It appears I have a Critical Syntax Error in Contact Form 7 constant contact php file. It say like this:

    CRITICAL syntax error, unexpected end of file, expecting ‘(‘ i /home/Replacedwithwhatever/public_html/wp-content/plugins/contact-form-7/modules/constant-contact.php på rad 635

    I look at that line, and this is the section it points to.

    class WPCF7_ConstantContact_ContactPostRequest {

    private $email_address;
    private $first_name;
    private $last_name;
    private $job_title;
    private $company_name;
    private $create_source;
    private $birthday_month;
    private $birthday_day;
    private $anniversary;
    private $custom_fields = array();
    private $phone_numbers = array();
    private $street_addresses = array(); <—this is line 365
    private $list_memberships = array();

    public function __construct() {
    }

    I have marked line 365 for you. I know nothing of Php, but comparing with other lines I can not find where this – expecting ‘(‘ – is supposed to be.

    Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter uncharted83

    (@uncharted83)

    I use OnePage Express Pro theme and a bunch of Plugins. The one it seems to be in conflict with is Google Analytics Dashboard for WP.

    However, I see that the module that has the problem appears to be a function I do not use. It’s for email marketing.

    I know it’s a powerful tool, but my business have no use of it. Is it possible to simply turn it off? I have not configured or integrated the constant-contact function.

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

The topic ‘Constant contact – syntax error line 635’ is closed to new replies.