Title: Trouble while installing new theme
Last modified: November 23, 2016

---

# Trouble while installing new theme

 *  Resolved [FedericaNioi](https://wordpress.org/support/users/federicanioi/)
 * (@federicanioi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/trouble-while-installing-new-theme/)
 * Hi everybody!
    I was working on a website but, while I was installing a new theme(
   Genius Theme), has appeared this advice: Parse error: syntax error, unexpected‘[‘
   in /var/www/virtual/sdw-friedrichshain.de/htdocs/wp-content/themes/genius/inc/
   template-tags.php on line 227
 * I can’t come back to my dashboard now.
    I can’t do anything. Could someone help
   me, please? thanks in advance

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/trouble-while-installing-new-theme/#post-8474312)
 * Looks like you have a broken theme. Try switching to the default theme automatically
   by renaming your current theme’s folder inside wp-content/themes and adding “-
   old” to the end of the folder name using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.
 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/trouble-while-installing-new-theme/#post-8474321)
 * You can [use an FTP client](http://www.mhthemes.com/support/using-ftp-clients-wordpress/)
   to access the files on your server. Your theme files are located within the **
   wp-content/themes** folder, with each theme residing within its own sub-folder.
 * Delete the _genius_ folder and you should be able to gain access to your Dashboard
   again.
 * The error in question is related to this segment of code:
 *     ```
       $args = [
           'post_type'		=> 'page',
           'fields'		=> 'ids',
           'nopaging'		=> true,
           'meta_key'		=> '_wp_page_template',
           'meta_value'	=> 'template-parts/template-portfolio.php'
       ];
       ```
   
 * I’m not familiar with this theme at all, but I would expect the above arguments
   to be stored as an array, which they’re not, this could be the issue although
   you would get better advice about this by posting on their [dedicated support forum](https://wordpress.org/support/theme/genius).
 * Hope this helps.
 *  Thread Starter [FedericaNioi](https://wordpress.org/support/users/federicanioi/)
 * (@federicanioi)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/trouble-while-installing-new-theme/#post-8474386)
 * Thanks!
    I deleted ‘genius’ folder and now it’s ok!!

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

The topic ‘Trouble while installing new theme’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [FedericaNioi](https://wordpress.org/support/users/federicanioi/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/trouble-while-installing-new-theme/#post-8474386)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
