Title: Problem regarding editing php
Last modified: August 22, 2016

---

# Problem regarding editing php

 *  [Arnab88](https://wordpress.org/support/users/arnab88/)
 * (@arnab88)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/)
 * Hi, I am getting a error message as quoted below
 * Parse error: syntax error, unexpected ‘<‘ in /home/content/p3nexnas05_data02/
   37/2174637/html/wp-content/themes/hiero/inc/extras.php on line 23
 * But, I can’t open the extras.php file or anything else on my website. Everytime
   I try to access the site I am getting this message. Can someone help me on how
   to resolve this?
 * Thanks

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

 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484665)
 * Hi Arnab88,
 * To edit that file you will need to use FTP or something like cPanel File Manager.
   It sounds like some code was added or removed from that file and a stray < tag
   was left behind. Were you editing anything before this error started?
 * Hope this helps!
 * Christi
 *  Thread Starter [Arnab88](https://wordpress.org/support/users/arnab88/)
 * (@arnab88)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484677)
 * Hi, Christi
 * Yes you are right I was trying to edit a file, but now I can’t access the site
   or backend and I tried using an ftp client, but it is not getting connected. 
   I am getting the error,
 * Software caused connection abort
 *  Thread Starter [Arnab88](https://wordpress.org/support/users/arnab88/)
 * (@arnab88)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484678)
 * I am thinking of trying the restore function to one day back. Will it work?
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484683)
 * Hi Arnab88,
 * There can be quite a few things that cause that error in an FTP client (anything
   from a firewall to an IP ban at the host server) so I won’t be able to help with
   that. Depending on what FTP client you are using, you may want to check their
   support documentation or search their forum if they have one.
 * In the meantime, your webhost should have some sort of file manager for your 
   hosting account (e.g. File Manger in cPanel). If not, the restore function may
   be your only option.
 * Also, you should make a [Child Theme](http://codex.wordpress.org/Child_Themes)
   if you want to change certain files for a theme.
 *  Thread Starter [Arnab88](https://wordpress.org/support/users/arnab88/)
 * (@arnab88)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484690)
 * Thanks Christi, it is up and running now.
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484807)
 * Hi Arnab88,
 * That’s good news. Please mark this post as resolved.
 * Thanks!
 * Christi

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

The topic ‘Problem regarding editing php’ is closed to new replies.

 * 6 replies
 * 2 participants
 * Last reply from: [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/problem-regarding-editing-php/#post-5484807)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
