I just had the same error using php version 5.3 – I think maybe this is new syntax for php 5.4?
https://php.net/manual/en/migration54.new-features.php
I changed that line to be the old-fashioned:
$urls = array();
and the plugin now seems to activate for me (haven’t tested if it actually works yet…!)
Tom