Title: PHP parse error
Last modified: August 24, 2016

---

# PHP parse error

 *  Resolved [Onno454](https://wordpress.org/support/users/onno454/)
 * (@onno454)
 * [11 years ago](https://wordpress.org/support/topic/php-parse-error-10/)
 * The theme is not showing any page, just blank screen.
 * I do get this error in the log:
    PHP Parse error: syntax error, unexpected ‘[‘
   in /home/tvav/public_html/wp-content/themes/felynx-forest/content.php on line
   12 [10-Apr-2015 19:06:16 UTC] PHP Parse error: syntax error, unexpected ‘[‘ in/
   home/tvav/public_html/wp-content/themes/felynx-forest/index.php on line 39
 * Any idea?
    thx

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

 *  [CypressWebs](https://wordpress.org/support/users/jmeyer2485/)
 * (@jmeyer2485)
 * [11 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002517)
 * Did you edit anything in the Appearance > Editor PHP files?
 *  Thread Starter [Onno454](https://wordpress.org/support/users/onno454/)
 * (@onno454)
 * [11 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002561)
 * No, but it looks like the host is using an “older version” of PHP
    (5.3.29)
 * I found this topic: [http://stackoverflow.com/questions/12769982/reference-what-does-this-error-mean-in-php/22316776#22316776](http://stackoverflow.com/questions/12769982/reference-what-does-this-error-mean-in-php/22316776#22316776)
 * Any idea?
 *  Thread Starter [Onno454](https://wordpress.org/support/users/onno454/)
 * (@onno454)
 * [11 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002567)
 * Changed content.php and index.php, line 12 & 39 to:
 *     ```
       if ( has_post_thumbnail() ) {
       $parts = ' style="background-image: url(' . wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' ) . ')"';
       $cover_img = $parts[0];
       }
       ```
   
 * Now it shows the Homepage, but not the other pages.
    Please advice?
 *  Thread Starter [Onno454](https://wordpress.org/support/users/onno454/)
 * (@onno454)
 * [11 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002575)
 * I meant with not showing “other pages” the menu that should show the other pages.
 *  Thread Starter [Onno454](https://wordpress.org/support/users/onno454/)
 * (@onno454)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002660)
 * The workaround worked, but is this the right way to make it PHP 5.3 compatible?
 *  Theme Author [Felynx](https://wordpress.org/support/users/felynx/)
 * (@felynx)
 * [10 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002824)
 * The blank page screen has been fixed since the v2.0, thanks you for your report.
 * I mark this topic resolved.

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

The topic ‘PHP parse error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/felynx-forest/2.5/screenshot.png)
 * Felynx Forest
 * [Support Threads](https://wordpress.org/support/theme/felynx-forest/)
 * [Active Topics](https://wordpress.org/support/theme/felynx-forest/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/felynx-forest/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/felynx-forest/reviews/)

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [Felynx](https://wordpress.org/support/users/felynx/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/php-parse-error-10/#post-6002824)
 * Status: resolved