Title: WordPress error
Last modified: August 20, 2016

---

# WordPress error

 *  [adele-pace](https://wordpress.org/support/users/adele-pace/)
 * (@adele-pace)
 * [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/)
 * upon attempting to visit the home page of my website it will not display anything
   accept the following:
 * Parse error: syntax error, unexpected ‘;’, expecting T_STRING or T_VARIABLE or‘
   $’ in /home/paceleg1/public_html/wp-content/themes/pacelegal/index.php on line
   6

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

 *  [christogeretz](https://wordpress.org/support/users/christogeretz/)
 * (@christogeretz)
 * [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/#post-2103035)
 * Can you access your site via FTP and run the index.php file through an online
   validator?
 *  Thread Starter [adele-pace](https://wordpress.org/support/users/adele-pace/)
 * (@adele-pace)
 * [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/#post-2103050)
 * Hi,
 * thanks for your response.
 * I am not sure what you mean by running the index.php through an online validator?
 *  [christogeretz](https://wordpress.org/support/users/christogeretz/)
 * (@christogeretz)
 * [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/#post-2103055)
 * Go to this website – it’s worked well for me in the past. It may be that there’s
   a bracket missing or something silly…
 * [http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php](http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php)
 *  Thread Starter [adele-pace](https://wordpress.org/support/users/adele-pace/)
 * (@adele-pace)
 * [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/#post-2103060)
 * Thanks. I went into the index.php file and it is as follows. I copied it into
   notepad and ran it through the validator and it passed the test for php4. Is 
   this something perhaps I should be checking in wordpress and perhaps should be
   posting in the wordpress forum?
 * <?php
    /** * Front to the WordPress application. This file doesn’t do
 * anything, but loads
    * wp-blog-header.php which does and tells WordPress to load
   the
 * theme.
    * * [@package](https://wordpress.org/support/users/package/) WordPress*/
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.
   php’); ?>

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

The topic ‘WordPress error’ 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
 * 2 participants
 * Last reply from: [adele-pace](https://wordpress.org/support/users/adele-pace/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/wordpress-error-21/#post-2103060)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
