I am using Rest Routes plugin for building custom endpoints for WP Rest API. This plugin is tested for compatibility for upto WordPress versioin 4.5.9. I'm using WordPress version 4.6.6 on my localhost and the plugin works fine. I'm able to create custom endpoints. But when I install this plugin in the live server, where I'm using the same version of wordpress, 4.6.6, the plugin doesn't get activated, showing me an error:
Parse error: syntax error, unexpected '[' in /nfs/c07/h03/mnt/109306/domains/lrp.magikbox.biz/html/wp-content/plugins/rest-routes/inc/filters/wprr-filter-post_type.php on line 92