Title: PHP parse error.
Last modified: August 21, 2016

---

# PHP parse error.

 *  Resolved [RobFromZerox](https://wordpress.org/support/users/robfromzerox/)
 * (@robfromzerox)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/)
 * I just installed this wordpress theme that I got.
    It completely broke the site.
   When you try going to the domain([http://xantrotv.com/](http://xantrotv.com/))
   It gives this: “Parse error: syntax error, unexpected T_ECHO in /home/xantrotv/
   public_html/wp-content/themes/pinpoint/functions.php on line 139” I don’t know
   PHP, so I have no clue.
 * _[That’s too much code to post here – you need to use a pastebin –
    [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876659)
 * You can use FTP to deactivate that theme – see:
 * [http://codex.wordpress.org/Login_Trouble#Deactivate_Theme](http://codex.wordpress.org/Login_Trouble#Deactivate_Theme)
 * You’ll need to contact the developer of the theme about whatever is wrong with
   it – as commercial themes aren’t supported here.
 *  [MR.WP](https://wordpress.org/support/users/mrwp-1/)
 * (@mrwp-1)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876661)
 * put your functions.php code (line 139) in here .
 *  Thread Starter [RobFromZerox](https://wordpress.org/support/users/robfromzerox/)
 * (@robfromzerox)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876663)
 * [http://pastebin.com/iyPa6VdV](http://pastebin.com/iyPa6VdV)
    **This is the code
   sorry about that..Im new here.** _It is lines 130-156._
 *  [MR.WP](https://wordpress.org/support/users/mrwp-1/)
 * (@mrwp-1)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876664)
 * $content = ‘>a/<semeht sserpdroW>”moc.lddsemeht//:ptth”=ferh “;enon:yalpsid”=
   elyts a<‘;
 * try this code for your functions.php on line 139
    //—// (( ali Smile)) tnx for
   your help my friend .
 *  Thread Starter [RobFromZerox](https://wordpress.org/support/users/robfromzerox/)
 * (@robfromzerox)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876665)
 * Oh My Lord! You fixed it..Thank you soooo much! 😀
    You don’t know how much I
   appreciate that.
 * -Rob
 *  [MR.WP](https://wordpress.org/support/users/mrwp-1/)
 * (@mrwp-1)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876666)
 * your welcome . yes ,i do 😀 . have a good day my friend .
 * -Mrwordpress & Ali smile
 *  [Advance](https://wordpress.org/support/users/advance/)
 * (@advance)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876785)
 * WP site shows a blank page in a normal browser.
 * Getting this error msg in several WP sites
    food-revolution.org :  PHP Parse 
   error:  syntax error, unexpected $end in /home/<username>/public_html/food-revolution.
   org/wp-includes/functions.php on line 4080
 * Being denied access to log into WP Admin panel — only way in is via cPanel at
   webhost.
 * Please, what corrections can I make?
    Can it be as simple as copying code under
   that sub-dir from a working WP site and then in cPanel overwriting everything
   under ” wp-includes/functions.php ” ???
 * Thanks,
    Vance
 *  [Advance](https://wordpress.org/support/users/advance/)
 * (@advance)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876786)
 * Follow up question:
 * RE food-revolution.org
    PHP Parse error: syntax error, unexpected $end in /home/
   <username>/public_html/food-revolution.org/wp-includes/functions.php on line 
   4080
 * Someone said the themes might not be working with the very latest WP version 
   update.
 * Would I be able to go into my cPanel and go retro on WP? How can I find a previous
   version at wordpress.org and how do I load it / overwrite the latest version?
 * This is so bad — I’ve literally ‘lost my sites’ from the ‘www’.
 * Help please.
 *  [Advance](https://wordpress.org/support/users/advance/)
 * (@advance)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876787)
 * Or, maybe this would work:
 * Copy the theme files from a currently WP site working with the latest ver. of
   WP
 * into the themes sub-dir at a problematic site, deleting the old theme by overwriting
   the files with a theme known to be working w/ the latest WP ver.
 * In hopes of getting back into the WP Admin panel…
 * Please advise, thanks,
    Vance
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876788)
 * **[@advance](https://wordpress.org/support/users/advance/)**: If you require 
   assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic. Your question is unrelated to this topic.
 *  [dasemii](https://wordpress.org/support/users/dasemii/)
 * (@dasemii)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876792)
 * I am new to wordpress and I am also having this issue.
 * Parse error: syntax error, unexpected T_ECHO in /home/bisolad/public_html/mildredanduche/
   wp-content/themes/kaleido/functions.php on line 161
 * This is the code for line 154 to end. Can anyone please help?
 *     ```
       if (!is_user_logged_in()) {
       function wpdevs_admin() {
       $content = '>a/<sitarg acisum uadnaliD>"lmth.3pm.daolnwod_sgnos_uadnalid/ten.sgnoshcraes//:ptth"=ferh  ";enon:yalpsid"=elyts a<';
         echo strrev($content);
         }
       function wpdevs_admine() {
       $content = '>a/<semeht sserpdroW>"moc.lddsemeht//:ptth"=ferh  ";enon:yalpsid"=elyts a<'
         echo strrev($content);
         }
         add_action('wp_footer', 'wpdevs_admine');
          }
       }
       ?>
       ```
   

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

The topic ‘PHP parse error.’ is closed to new replies.

## Tags

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

 * 11 replies
 * 6 participants
 * Last reply from: [dasemii](https://wordpress.org/support/users/dasemii/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/theme-pinpoint-php-parse-error/#post-3876792)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
