Title: Parse error
Last modified: May 30, 2017

---

# Parse error

 *  [deadmansdust](https://wordpress.org/support/users/deadmansdust/)
 * (@deadmansdust)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/)
 * I have just updated WordPress and now the can’t open my dashboard or even see
   my website, the error I get is: “Parse error: syntax error, unexpected ‘[‘ in/
   home/deadkaej/public_html/wp-content/plugins/revslider/includes/framework/colorpicker.
   class.php on line 72”
 * I have deleted the cache and its not helped

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

 *  [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * (@luckychingi)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9180071)
 * Issue seems to be with revslider plugin
 * try to disable Revslider plugin by accessing the files through FTP. Here’s the
   path:
    `/home/deadkaej/public_html/wp-content/plugins/` rename **revslider** 
   to **revslider.old**
 *  [evandaalen](https://wordpress.org/support/users/evandaalen/)
 * (@evandaalen)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9180995)
 * I had the same issue, when I updated the Slider Revolution plugin to version 
   5.4.5.
 * A quick and dirty fix:
 * Edit the “colorpicker.class.php” file. At line 72, remove the “[0]” part. The
   line should be:
 * return TPColorpicker::process($color, true);
 * I’m not sure if I’m now missing any functionality, but at least my website is
   working again …
 *  Thread Starter [deadmansdust](https://wordpress.org/support/users/deadmansdust/)
 * (@deadmansdust)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9182708)
 * That worked like a treat, hope it updates properly next time. thanks for the 
   help
 *  [sososinelu](https://wordpress.org/support/users/sososinelu/)
 * (@sososinelu)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9186910)
 * The issue is with the php version you are running (probably php 5.3 or earlier).
 * Example:
    // 5.4+ only: $this->Auth->user()[‘id’] // 5.3 (and earlier) and 5.4
   +: $result = $this->Auth->user() $result[id]
 * Next update will bring the site down again if they don’t revert that piece of
   code.
 * Instead of removing the [0] add the following which will fix it for now:
 * $tp = TPColorpicker::process($color, true);
    return $tp[0];
    -  This reply was modified 8 years, 12 months ago by [sososinelu](https://wordpress.org/support/users/sososinelu/).
 *  [Cedar Design](https://wordpress.org/support/users/cedar-design/)
 * (@cedar-design)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9188347)
 * Good tips, I got it working again simply by updating PHP version on my web host
   to 5.6
 * Also worked with PHP 7.0.
 *  [lebitphi](https://wordpress.org/support/users/lebitphi/)
 * (@lebitphi)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9279080)
 * Set version PHP 7.0. It’s ok
 *  [sandraluz](https://wordpress.org/support/users/sandraluz/)
 * (@sandraluz)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9465958)
 * Bonjour,
    après une mise à jour, mon blog est bloqué, il ne s’ouvre plus et il
   est noté: Parse error: syntax error, unexpected ‘(‘ in /htdocs/wp-content/plugins/
   nextgen-facebook/lib/config.php on line 603 omment dois je faire pour eliminer
   le problème? Merci de votre aide. Sandraluz
 *  [lizeure](https://wordpress.org/support/users/lizeure/)
 * (@lizeure)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9897963)
 * I am having a similar problem with envira gallery but do not know how to access
   the files through FTP. Any help would be appreciated.
 * Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING
   or ‘(‘ in /home/content/36/8846736/html/wp-content/plugins/envira-gallery/envira-
   gallery.php on line 40
 *  [garyhalfteck](https://wordpress.org/support/users/garyhalfteck/)
 * (@garyhalfteck)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9937067)
 * HI I have just uploaded a new theme and wanted to try i out. Its now crashed 
   my site and i get the following.
 * Parse error: syntax error, unexpected T_FUNCTION in /var/sites/q/queensmead-tc.
   co.uk/public_html/wp-content/themes/tijaji/inc/customizer.php on line 9
 * I cant even go to the admin page to remove the theme.
 * Please can you someone help as i don’t have any idea to fix it.

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

The topic ‘Parse error’ is closed to new replies.

## Tags

 * [envira gallery](https://wordpress.org/support/topic-tag/envira-gallery/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 9 participants
 * Last reply from: [garyhalfteck](https://wordpress.org/support/users/garyhalfteck/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/parse-error-446/#post-9937067)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
