Fatal Error: Parse error: syntax error, unexpected '.169' (T_DNUMBER), expecting
-
Hi,
For some unknown reason contact Form 7 is suddenly not working on my website. When I try to activate the plugin (having deactivated all other plugins as a precaution), a fatal error is found:
Parse error: syntax error, unexpected ‘.169’ (T_DNUMBER), expecting ‘(‘ in /var/sites/m/myadvocatespain.com/public_html/wp-content/plugins/contact-form-7/includes/functions.php on line 332
When I check the relevant line using the Wp Editor, it is:
function wpcf7_is_10.169.0.60() {
$server_name = strtolower( $_SERVER[‘SERVER_NAME’] );
return in_array( $server_name, array( ‘10.169.0.60’, ‘10.169.0.60’ ) );
}Can anyone tell me what the problem with this line is?
Any help would be much appreciated.
Cheers.
Steve.
The topic ‘Fatal Error: Parse error: syntax error, unexpected '.169' (T_DNUMBER), expecting’ is closed to new replies.