Title: syntax error
Last modified: August 30, 2016

---

# syntax error

 *  [simon3dartvision](https://wordpress.org/support/users/simon3dartvision/)
 * (@simon3dartvision)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-121/)
 * syntax error, unexpected ‘for’ (T_FOR) in /user/htdocs/wp-content/themes/border/
   functions.php on line 10
 * I’m getting this error message for my functions.php file.
    I have pasted in the
   functions.php file here below the line ( line 10, refered to in the error message
   is the one reading: include-paths for additional theme specific )
 * Can anyone help as I am unable to use the theme with this current error
    ________________________________________
 * <?php
 * // ensure EXT is defined
    if ( ! defined(‘EXT’)) { define(‘EXT’, ‘.php’); }
 * #
    # See: wpgrade-config.php -> include-paths for additional theme specific #
   function and class includes #
 * // ensure REQUEST_PROTOCOL is defined
    if ( ! defined(‘REQUEST_PROTOCOL’)) { 
   if (is_ssl()) { define( ‘REQUEST_PROTOCOL’, ‘https:’ ); } else { define( ‘REQUEST_PROTOCOL’,‘
   http:’ ); } }
 * // Loads the theme’s translated strings
    load_theme_textdomain( ‘border_txtd’,
   get_template_directory() . ‘/languages/’ );
 * // Theme specific settings
    // ———————–
 * // add theme support for post formats
    // child themes note: use the after_setup_theme
   hook with a callback //$formats = array(‘video’, ‘audio’, ‘gallery’, ‘image’,‘
   link’); //add_theme_support(‘post-formats’, $formats);
 * // Initialize system core
    // ———————-
 * require_once ‘wpgrade-core/bootstrap’.EXT;
 * #
    # Please perform any initialization via options in wpgrade-config and # calls
   in wpgrade-core/bootstrap. Required for testing. #
 * /**
    * [http://codex.wordpress.org/Content_Width](http://codex.wordpress.org/Content_Width)*/
   if ( ! isset($content_width)) { $content_width = 960; }

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

 * 0 replies
 * 1 participant
 * Last reply from: [simon3dartvision](https://wordpress.org/support/users/simon3dartvision/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-121/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
