Title: Parse error: syntax error, unexpected
Last modified: December 7, 2018

---

# Parse error: syntax error, unexpected

 *  [bajan4evr2](https://wordpress.org/support/users/bajan4evr2/)
 * (@bajan4evr2)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-237/)
 * Cannot activate plugin due to error.
 * Parse error: syntax error, unexpected ‘[‘ in /wp-content/plugins/force-https-
   littlebizzy/admin-notices-ms.php on line 85
    -  This topic was modified 7 years, 5 months ago by [bajan4evr2](https://wordpress.org/support/users/bajan4evr2/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [deltafactory](https://wordpress.org/support/users/deltafactory/)
 * (@deltafactory)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-237/#post-10969009)
 * What version of PHP are you using? That line uses the “new” array notation []
   introduced in v5.4. If you’re running an earlier version, that would explain 
   the error.
 * On a separate note, I strongly suggest upgrading PHP versions. There are massive
   performance improvements, especially in v7.0+.
 *  [deltafactory](https://wordpress.org/support/users/deltafactory/)
 * (@deltafactory)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-237/#post-10969043)
 * Quick follow-up:
 * If you’re using a newer PHP version, you may be having the same issue as detailed
   here: [https://wordpress.org/support/topic/php-7-compatibility-229/](https://wordpress.org/support/topic/php-7-compatibility-229/)
 * In that case, it’s not the use of [] but instead the & used before $this in lines
   85, 86.
 *  [Boston Tom](https://wordpress.org/support/users/tneveu/)
 * (@tneveu)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-237/#post-11283019)
 * The plug-in goes into the mu-plugins directory. If you don’t have the mu-plugins
   directory, FTP to your site and create it in the wp-content directory. So the
   path would be /wp-content/mu-plugins/ Simply upload the entire force-https folder
   to this directory.
 * The mu stands for must use. Depending on your hosting company, you probably have
   it already. Little Bizzy plugins may require their autoloader.php script, which
   goes in the same directory. It’s a single file and was available on git-hub. 
   Not sure if it was taken down by Little Bizzy.
 * A lot of their plugins are only available if you host your site on their servers.
   So they probably don’t have the time to provide support to non-hosting customers.
   My crappy hosting company is the same way and use their own proprietary plugins.
 * I use Really Simple SSL which is available here. You install it, activate it,
   and choose the settings right for you (the default settings should work just 
   fine). Hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/force-https-littlebizzy.svg)
 * [Force HTTPS (SSL Redirect & Fix Insecure Content)](https://wordpress.org/plugins/force-https-littlebizzy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/force-https-littlebizzy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/force-https-littlebizzy/)
 * [Active Topics](https://wordpress.org/support/plugin/force-https-littlebizzy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/force-https-littlebizzy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/force-https-littlebizzy/reviews/)

 * 3 replies
 * 0 participants
 * Last reply from: [Boston Tom](https://wordpress.org/support/users/tneveu/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-237/#post-11283019)
 * Status: not resolved