Title: PHP error on header.php file
Last modified: August 7, 2018

---

# PHP error on header.php file

 *  [jordanonefirefly](https://wordpress.org/support/users/jordanonefirefly/)
 * (@jordanonefirefly)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/php-error-on-header-php-file/)
 * Hello! I’m encountering a weird php error and I’m not familiar enough with php
   to fix it myself. The error is on lien 63, the last line of code. I also included
   everything above just in case.
 * This is the error: Parse error: syntax error, unexpected T_STRING, expecting ‘,’
   or ‘;’ in /homepages/34/d363568816/htdocs/wp-content/themes/SST/header.php on
   line 63
 * <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   
   <html xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   dir=”ltr” lang=”en-US”>
 * <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
 * <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
 * <title><?php wp_title(‘-‘, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title
   >
    <meta http-equiv=”keywords” content=”HDTV, LCD, Plasma, Monitor, Television,
   Theater, Home, Patio, Outdoor speakers, Installation, custom, entertainment, 
   electronics” /> <meta name=”description” content=”Smart Systems Technologies 
   Inc. is a total low voltage integrator. By incorporating Intelligent High Speed
   Wiring and combining it with independent Smart Systems, we integrate a convenient
   technology life style. We will deliver this dream and 100% customer satisfaction
   with positive, optimistic, solution based employees. The strength of any organization
   is based on its Customer satisfaction and employee retention.” />
 * <link rel=”stylesheet” href=”<?php bloginfo(‘template_url’); ?>/style.css?ver
   =1.1″ type=”text/css” media=”screen” />
    <link href=”<?php bloginfo(‘template_url’);?
   >/reset.css” type=”text/css” rel=”stylesheet” /> <link rel=”pingback” href=”<?
   php bloginfo(‘pingback_url’); ?>” /> <link rel=”shortcut icon” href=”<?php bloginfo(‘
   template_url’); ?>/images/favicon.ico” type=”image/x-icon” /> <link rel=”stylesheet”
   href=”<?php bloginfo(‘template_url’); ?>/nivo-slider.css” type=”text/css” media
   =”screen” />
 * <script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/jquery-
   1.4.3.min.js”></script>
    <script src=”<?php bloginfo(‘template_url’); ?>/js/jcarousellite_1.0.1.
   pack.js” type=”text/javascript”></script> <script src=”<?php bloginfo(‘template_url’);?
   >/js/jquery.lightbox-0.5.pack.js” type=”text/javascript”></script> <script type
   =”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/columnizer.js”>
   </script> <script type=”text/javascript” src=”<?php bloginfo(‘template_url’);?
   >/js/columnize.js”></script> <script type=”text/javascript” src=”<?php bloginfo(‘
   template_url’); ?>/js/validate.js”></script> <script type=”text/javascript” src
   =”<?php bloginfo(‘template_url’); ?>/js/animatedcollapse.js”>
 * /***********************************************
    * Animated Collapsible DIV 
   v2.4- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice
   MUST stay intact for legal use * Visit Dynamic Drive at [http://www.dynamicdrive.com/](http://www.dynamicdrive.com/)
   for this script and 100s more ***********************************************/
 * </script>
 * <script type=”text/javascript”>
 * animatedcollapse.addDiv(‘cat’, ‘fade=0,speed=400,group=topbar,hide=1’)
    animatedcollapse.
   addDiv(‘archives’, ‘fade=0,speed=400,group=topbar,hide=1’) animatedcollapse.addDiv(‘
   search’, ‘fade=0,speed=400,group=topbar,hide=1’)
 * animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV
   is expanded/contracted
    //$: Access to jQuery //divobj: DOM reference to DIV 
   being expanded/ collapsed. Use “divobj.id” to get its ID //state: “block” or “
   none”, depending on state }
 * animatedcollapse.init()
 * </script>
    <script type=”text/javascript”> $(function() { $(‘.theContent ul li
   a’).lightBox({ imageLoading: ‘<?php bloginfo(‘template_url’); ?>/images/loading.
   gif’, imageBtnClose: ‘<?php bloginfo(‘template_url’); ?>/images/close.gif’, imageBtnPrev:‘
   <?php bloginfo(‘template_url’); ?>/images/prev.gif’, imageBtnNext: ‘<?php bloginfo(‘
   template_url’); ?>/images/next.gif’, imageBlank: ‘<?php bloginfo(‘template_url’);?
   >/images/lightbox-blank.gif’ }); }); </script>
 * <?php wp_head(); ?>
    </head> <body id= “<?php echo($page) ?>” <?php if(in_array(
   get_page_template_slug(),array(‘page-services.php’))) echo “class=”servicePage””;?
   >>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-on-header-php-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/php-error-on-header-php-file/#post-10568498)
 * your `SST` theme seems to be the error.
 * To confirm, try switching to the unedited default Theme (Twenty Seventeen, etc.)
   for a moment using the WP dashboard to rule out any theme-specific issue (theme
   functions can interfere like plugins).
 * If you don’t have access to your Dashboard’s Appearance page, access your server
   via FTP/ SFTP , or a file manager in your hosting account’s control panel (consult
   your hosting provider’s documentation for specifics on these), navigate to /wp-
   content/themes/ and switch to the default theme by renaming your current theme’s
   folder by adding "-old" to the end of the folder name. Alternately, you can remove
   other themes except the default theme (Twenty Seventeen, etc.). That will force
   your site to use it.
    -  This reply was modified 7 years, 10 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 *  [baljindersingh88](https://wordpress.org/support/users/baljindersingh88/)
 * (@baljindersingh88)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/php-error-on-header-php-file/#post-10568699)
 * On line no 63 add a semicolon.
 *  Thread Starter [jordanonefirefly](https://wordpress.org/support/users/jordanonefirefly/)
 * (@jordanonefirefly)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/php-error-on-header-php-file/#post-10568711)
 * Where should I add it? At the very end?

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

The topic ‘PHP error on header.php file’ is closed to new replies.

## Tags

 * [custom theme](https://wordpress.org/support/topic-tag/custom-theme/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [jordanonefirefly](https://wordpress.org/support/users/jordanonefirefly/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/php-error-on-header-php-file/#post-10568711)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
