Title: Website down after theme update
Last modified: August 31, 2016

---

# Website down after theme update

 *  [doesshenow](https://wordpress.org/support/users/doesshenow/)
 * (@doesshenow)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/)
 * Hi, my website has gone down after updating the theme. I am getting the error
 * _“Parse error: syntax error, unexpected ‘WP\_Customize\_Control’ (T\_STRING) 
   in /var/sites/d/doesshenow.co.uk/public\_html/wp-content/themes/pipdig-tundra/
   inc/customizer.php on line 17”_
 * I don’t know much about coding, especially Php but I’ve downloaded the theme’s
   php and copied and pasted it into a code checker. This is the section that’s 
   messing things up – my untrained eye can’t spot a mistake – can anybody help 
   me?
 *     ```
       $dropdown = str_replace( '<select', '<select<?php
       if (class_exists('WP_Customize_Control')) {
           class WP_Customize_Category_Control extends WP_Customize_Control {
               public function render_content() {
                   $dropdown = wp_dropdown_categories(
                       array(
                           'name'              => '_customize-dropdown-categories-' . $this->id,
                           'echo'              => 0,
                           'show_option_none'  => 'All categories',
                           'option_none_value' => '',
                           'selected'          => $this->value(),
                       )
                   );
       ```
   

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

 *  [pipdig](https://wordpress.org/support/users/pipdig/)
 * (@pipdig)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220579)
 * Hi doesshenow,
 * As this is a commercial theme, we’ll be happy to help you with any issues over
   at [http://support.pipdig.co](http://support.pipdig.co). Please feel free to 
   contact us and we’ll check this for you asap.
 * Some possible quick solutions:
 * 1. Is the theme the latest version? You can check for updates by going to ‘Appearance
   > Themes’ in your dashboard.
 * 2. Are all plugins up to date? You can check this by going to the ‘Plugins’ section
   of your dashboard.
 * Thanks,
 * Phil
 *  [nichole1242](https://wordpress.org/support/users/nichole1242/)
 * (@nichole1242)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220870)
 * hello i am having the same issue
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220871)
 * **[@nichole1242](https://wordpress.org/support/users/nichole1242/)**
 * Please start a new thread.
 *  [nichole1242](https://wordpress.org/support/users/nichole1242/)
 * (@nichole1242)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220872)
 * how
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220873)
 * [https://codex.wordpress.org/Forum_Welcome](https://codex.wordpress.org/Forum_Welcome)

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

The topic ‘Website down after theme update’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [website down](https://wordpress.org/support/topic-tag/website-down/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/website-down-after-theme-update/#post-7220873)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
