Title: Parse error:  syntax error, unexpected &#039;[&#039;
Last modified: August 24, 2016

---

# Parse error: syntax error, unexpected '['

 *  Resolved [websupporter](https://wordpress.org/support/users/websupporter/)
 * (@websupporter)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-146/)
 * If you don’t get an image and you look into your error logs getting an message
   like
 * > <b>Parse error</b>: syntax error, unexpected ‘[‘
 * You should do the following:
 * Arrays are declared like this:
    `$children = []`
 * Some PHP-Versions don’t understand this, you should change these to
    `$children
   = array()`
 * After you’ve did this, is should work again.
 * I had this problem in version 1.0.1
 * [https://wordpress.org/plugins/disk-usage-sunburst/](https://wordpress.org/plugins/disk-usage-sunburst/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [RAIDBOXES](https://wordpress.org/support/users/raidboxes/)
 * (@raidboxes)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-146/#post-6006175)
 * Thanks, this goes in v1.0.2!

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/disk-usage-sunburst/assets/icon-256x256.png?rev=2684837)
 * [Disk Usage Sunburst](https://wordpress.org/plugins/disk-usage-sunburst/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disk-usage-sunburst/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disk-usage-sunburst/)
 * [Active Topics](https://wordpress.org/support/plugin/disk-usage-sunburst/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disk-usage-sunburst/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disk-usage-sunburst/reviews/)

## Tags

 * [arrays](https://wordpress.org/support/topic-tag/arrays/)

 * 1 reply
 * 2 participants
 * Last reply from: [RAIDBOXES](https://wordpress.org/support/users/raidboxes/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-146/#post-6006175)
 * Status: resolved