Title: Parse error: syntax error, unexpected T_STRING in function on line 1
Last modified: August 30, 2016

---

# Parse error: syntax error, unexpected T_STRING in function on line 1

 *  [Niko LionWD](https://wordpress.org/support/users/nikoernestoleone/)
 * (@nikoernestoleone)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-function-on-line-1/)
 * Hi everyone!
 * I’m worried, because i don’t have insert new codes, so my website show that: 
   Parse error: syntax error, unexpected T_STRING in /usr/home/newreformesbcn.com/
   web/wp-content/themes/appointment/functions.php on line 1.
 * I don’t undestand what…? If you help me, I’d be grateful.
 * That is the document functions.php
 *     ```
       <?php
       /**Theme Name	: Appointment
        * Theme Core Functions and Codes
       */
       	/**Includes reqired resources here**/
       	define('WEBRITI_TEMPLATE_DIR_URI', get_template_directory_uri());
           define('WEBRITI_TEMPLATE_DIR' , get_template_directory());
           define('WEBRITI_THEME_FUNCTIONS_PATH' , WEBRITI_TEMPLATE_DIR.'/functions');
       	require( WEBRITI_THEME_FUNCTIONS_PATH .'/scripts/script.php');
           require( WEBRITI_THEME_FUNCTIONS_PATH .'/menu/default_menu_walker.php');
           require( WEBRITI_THEME_FUNCTIONS_PATH .'/menu/appoinment_nav_walker.php');
           require( WEBRITI_THEME_FUNCTIONS_PATH .'/widgets/sidebars.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH .'/widgets/appointment_info_widget.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/template-tag.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/breadcrumbs/breadcrumbs.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/font/font.php');
       	//Customizer
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer_theme_style.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-callout.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-slider.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-copyright.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-header.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-news.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-service.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-pro.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-project.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-testimonial.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-client.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-footer-callout.php');
       	require( WEBRITI_THEME_FUNCTIONS_PATH . '/customizer/customizer-template.php');
       ```
   

The topic ‘Parse error: syntax error, unexpected T_STRING in function on line 1’
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Niko LionWD](https://wordpress.org/support/users/nikoernestoleone/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-function-on-line-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
