johnbillion / extended-cpts

A library which provides extended functionality to WordPress custom post types and taxonomies.
GNU General Public License v2.0
979 stars 96 forks source link

Parse error: syntax error, unexpected '[', expecting ')' #46

Closed jezthomp closed 8 years ago

jezthomp commented 8 years ago

I’m getting the following error, the hosting rubbish?

Parse error: syntax error, unexpected '[', expecting ')' in /home/modxsaq/public_html/new/wp-content/themes/site-theme/inc/cp/extended-cpts.php on line 1271

johnbillion commented 8 years ago

Yes, this means your hosting is using a very old version of PHP. Extended CPTs requires PHP 5.4+.

You should ask your host to upgrade PHP!