I wanted to post this for those of you having issues with 1&1 hosting. Not many 1&1 forum posts here.
I am using 1&1 hosting "Click and Build" Application. Moodle 3.2.1 (Build: 20170109)
I was getting an error trying to run CRON by using http://yourinfo.com/admin/cron.php The error was "!!! Exception - syntax error, unexpected '.', expecting ')' !!!"
Issue fixed by editing the clilib.php file located @ "http://yourinfo.com/lib/clilib.php"
The issue was an extra dot "." in the follwing code. Look at die(" ".$text
Before Changes
cli_writeln($text.PHP_EOL, STDERR);
die(." ".$text);
After Changes
cli_writeln($text.PHP_EOL, STDERR);
die(" ".$text);
Just open up the file and search for "die" it will bring you right to it.
Hope this helps someone else.