Parse error: syntax error, unexpected '=', expecting ')' in /var/www/vhosts/**********/httpdocs/sites/all/modules/drealty/modules/drealty_import/drealty_import.module on line 166

I'm getting that error when I try to activate the Import Submodule.. the main module activates/works just fine, but without the import module the whole drealty module is basically useless to me.. should probably check if i can still use drush to import without the import submodule installed..

Drupal 7.43.. mostly vanilla with views and DS

Comments

rEaS_54 created an issue. See original summary.

shauntyndall’s picture

Status: Active » Postponed (maintainer needs more info)

@rEaS_54, What version of PHP are you running? I'm thinking we've not seen this issue because we are running PHP 5.5.

bloomt’s picture

I get this error when I run any drush command after the drealty import module is enabled when drush is using php 5.4.

The error does not happen with PHP versions 5.5 and 5.6

rolandoscott’s picture

Status: Postponed (maintainer needs more info) » Active

You guys are correct, we are running 5.4.. good catch.. I'm going to try upping to 5.5

shauntyndall’s picture

Status: Active » Closed (works as designed)

I have updated the module homepage so it is more clear that PHP 5.5+ is required.