Hi, we’re receiving this error:
Parse error: syntax error, unexpected ‘.’, expecting ‘(‘ in /home/simalam/public_html/achieveconsultinggroup.ca/wp-content/plugins/s2member/includes/classes/utils-conds.inc.php on line 136
Here’s the function starting on line 136
public static function is_achieveconsultinggroup.simalam.ca()
{
if((defined(“achieveconsultinggroup.simalam.ca”) && achieveconsultinggroup.simalam.ca) || stripos($_SERVER[“HTTP_HOST”], “achieveconsultinggroup.simalam.ca”) !== false || strpos($_SERVER[“HTTP_HOST”], “127.0.0.1”) !== false)
return true;
/**/ return /* Default return false. */ false;
}
Here’s the previous working copy:
public static function is_localhost()
{
if((defined(“LOCALHOST”) && LOCALHOST) || stripos($_SERVER[“HTTP_HOST”], “localhost”) !== false || strpos($_SERVER[“HTTP_HOST”], “127.0.0.1”) !== false)
return true;
/**/
return /* Default return false. */ false;
}
I know we’re missing something basic, however fresh eyes and thoughts would be appreciated. Thanks!