Title: Problem with Customizr Theme
Last modified: August 21, 2016

---

# Problem with Customizr Theme

 *  [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/)
 * I am using Customizr Verision 3.1.6 and made a small change to the php file titled:‘
   class-header-header_main.php’ after making this change the site crashing showing
   this error:
 *  ‘Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /data/24/
   3/137/37/3300526/user/3683555/htdocs/home/wp-content/themes/customizr/parts/class-
   header-header_main.php on line 299’
 * This can be viewed at [http://038ee0b.netsolhost.com/home/](http://038ee0b.netsolhost.com/home/).
 * I need to fix this immediately as this site needs to be deployed as soon as possible.
   I was making a last minute change to change the heading type.
 * So far I have access through the ftp and deleted the ‘class-header-header_main.
   php’ file and reinstalled the file from customizr version 3.1.11.
    When I deleted
   the file I was still getting the same error and still have the same error after
   reinstallation.
 * Please help as soon as possible.
 * Thank you

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problem-with-customizr-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-customizr-theme/page/2/?output_format=md)

 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841038)
 * You’ve changed a core file, which is why we encourage you to do things in a Child
   Theme to avoid this.
 * To get back to the core 3.1.6 file, download and extract from [here](http://wordpress.org/themes/customizr/developers/).
   Then reapply (correct) code.
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841040)
 * redellconsulting,
 * I have downloaded the ‘class-header-header_main.php’ from the 3.1.6 file theme
   link you provided and replaced the one from version 3.1.11.
 * I am still getting the same error as previously mentioned. Is there anything 
   else I can do to fix this error?
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841043)
 * It now depends on what is your base version, 3.1.6 or 3.1.11? You can’t mix and
   match files from both versions.
 * You need to fully install 3.1.6 or 3.1.11. My concern is that I don’t know what
   other changes you may have made.
 *  [Jay Mayu](https://wordpress.org/support/users/mayooresan/)
 * (@mayooresan)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841050)
 * Why don’t you delete the theme and re-install it? and create a child theme and
   edit on top of it.
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841051)
 * All files are from 3.1.6. The only change I made was to ‘class-header-header_main.
   php’ file and uploaded the same titled file from version 3.1.11. I have since
   changed this file back to the version from 3.1.6 with the link you provided.
 * I am still receiving an error on this particular line from that file:
    line 299
   $html = sprintf(‘<div class=”container outside”><%1$s class=”site-description”
   >%2$s</%1$s></div>’,
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841054)
 * That’s the correct medium-term strategy, Jay. I think there is some panic as 
   the site is meant to be live this afternoon so I’ve tried to keep to a basic 
   install without Child Theme.
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841055)
 * Looks like missing semi-colon at end? Sorry, this a core file so I must be wrong.
   Let me look and I’ll come back to you
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841059)
 * The error is on line 299 but here are lines 299-302:
 *  $html = sprintf(‘<div class=”container outside”><%1$s class=”site-description”
   >%2$s</%1$s></div>’,
    apply_filters( ‘tc_tagline_tag’, ‘h2’ ), apply_filters(‘
   tc_tagline_text ‘, __( esc_attr( get_bloginfo( ‘description’ ) ) ) ) );
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841062)
 * Have you made any other customisation to any other files?
 * That code above is correct
 *  [Jay Mayu](https://wordpress.org/support/users/mayooresan/)
 * (@mayooresan)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841066)
 * That makes sense. Btw PHP would make funky error like this when you have empty
   space at the bottom or top. Try removing them all. And see the <?php ?> tags 
   are properly completed.
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841067)
 * No, just the one previously mentioned.
    I am surprised that the reinstallation
   of this file has not fixed it.
 * Could it take longer then a half hour to work?
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841070)
 * Can you switch to a different Theme in Appearance>Themes, then deactivate and
   reinstall 3.1.6 using the zip file method? Looks different in WP 3.9, so alternative
   is to unzip the zip file, then FTP the files to your Server, making sure you 
   copy from/to the correct directories.
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841074)
 * But we’ve copied back the core file which doesn’t have trailing spaces – good
   suggestion though Jay!
 * Final line 311 is `}//end of class` which is correct
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841078)
 * I cannot switch to a theme that i know of due to only being able to access files
   via FTP. I used a cleaner to make the php file have less spaces but I am still
   getting the same error on line 299 even tho there are not 299 lines. I will try
   to uninstall and reinstall the theme via FTP.
 *  Thread Starter [csingerline](https://wordpress.org/support/users/csingerline/)
 * (@csingerline)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/#post-4841086)
 * Even with the theme deleted from the ‘themes’ folder via ftp I am still getting
   the same error. Is there a way to refresh this page?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problem-with-customizr-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problem-with-customizr-theme/page/2/?output_format=md)

The topic ‘Problem with Customizr Theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

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

 * 17 replies
 * 4 participants
 * Last reply from: [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-customizr-theme/page/2/#post-4841144)
 * Status: not resolved