Symfony \ Component \ Debug \ Exception \ FatalErrorException syntax error, unexpected '[', expecting ')'
<?php echo Form::open(['to' => 'product-search', 'autocomplete' => 'off', 'id' => 'form-product-search', 'class' => 'form-inline', 'style' => 'text-align:center']); ?>
I'm not sure why i'm receiving this error after i migrate to ubuntu server. it used to be working fine on WAMP.
I tried commenting the code out too, it gives the same error, Any idea?