Title: syntax error when the plugin is activated
Last modified: January 30, 2018

---

# syntax error when the plugin is activated

 *  Resolved [webpr](https://wordpress.org/support/users/webpr/)
 * (@webpr)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/)
 * `Parse error: syntax error, unexpected '[' in absolute-relative-urls.php on line
   87`
 * really fixit?

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

 *  Plugin Author [intuitart](https://wordpress.org/support/users/intuitart/)
 * (@intuitart)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/#post-9957167)
 * I suspect you are using a version of php less that 5.4, as the use of square 
   brackets for defining an array was introduced in 5.4. In any event I’ll change
   the code to use the traditional array() and update the plugin here ASAP.
 *  Thread Starter [webpr](https://wordpress.org/support/users/webpr/)
 * (@webpr)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/#post-9957497)
 * Many thanks.
 *  Plugin Author [intuitart](https://wordpress.org/support/users/intuitart/)
 * (@intuitart)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/#post-9963053)
 * [@webpr](https://wordpress.org/support/users/webpr/), this should work for you
   now in version 1.5.5.
 *  Plugin Author [intuitart](https://wordpress.org/support/users/intuitart/)
 * (@intuitart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/#post-9969563)
 * Marking as resolved.

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

The topic ‘syntax error when the plugin is activated’ is closed to new replies.

 * ![](https://ps.w.org/absolute-relative-urls/assets/icon-256x256.png?rev=1568847)
 * [Absolute Relative URLs](https://wordpress.org/plugins/absolute-relative-urls/)
 * [Support Threads](https://wordpress.org/support/plugin/absolute-relative-urls/)
 * [Active Topics](https://wordpress.org/support/plugin/absolute-relative-urls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/absolute-relative-urls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/absolute-relative-urls/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [intuitart](https://wordpress.org/support/users/intuitart/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/syntax-error-when-the-plugin-is-activated/#post-9969563)
 * Status: resolved