Title: Error on PHP file
Last modified: August 30, 2016

---

# Error on PHP file

 *  Resolved [afeldhaus](https://wordpress.org/support/users/afeldhaus/)
 * (@afeldhaus)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file/)
 * Hello–
 * I did a VERY stupid thing and accidentally messed up a php file while trying 
   to insert google analytics code. Now I’m just getting an error message on every
   screen I try to go to, so I can’t even go back to check the code and try deleting
   whatever dumb thing I added.
 * [http://www.howtogetintograduateschool.com/faqs/grad-school-with-a-low-gpa/](http://www.howtogetintograduateschool.com/faqs/grad-school-with-a-low-gpa/)
 * Same error when I try to go into admin or the editor to adjust the file so I’m
   not sure how to proceed.

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file/#post-6331999)
 * > messed up a php file
 * Please be a little more descriptive 🙂
    [http://codex.wordpress.org/Forum_Welcome#Include_as_Much_Information_as_Possible](http://codex.wordpress.org/Forum_Welcome#Include_as_Much_Information_as_Possible)
 * – A php file of your current theme?
    – A php file of a plugin? – A php file of
   WP core?
 *  Thread Starter [afeldhaus](https://wordpress.org/support/users/afeldhaus/)
 * (@afeldhaus)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file/#post-6332001)
 * I guess the link isn’t showing you the same thing I’m seeing given that I’m logged
   in:
 * Parse error: syntax error, unexpected ‘<‘ in /home/uzbyte/public_html/wp-content/
   themes/omega/lib/framework.php on line 382
 * That’s the only error that comes up even when I try to get to my dashboard or
   any other admin area so I don’t know how to fix line 382 without accessing it.
 *  Thread Starter [afeldhaus](https://wordpress.org/support/users/afeldhaus/)
 * (@afeldhaus)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file/#post-6332071)
 * I tried logging out of admin (won’t let me/can’t log back in as .com/wp-admin
   just gives me the same error).
 * Any help would really be appreciated because I can’t even access the dashboard–
   I’m completely locked out.
 *  Thread Starter [afeldhaus](https://wordpress.org/support/users/afeldhaus/)
 * (@afeldhaus)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-on-php-file/#post-6332097)
 * RESOLVED:
 * I did the most obvious thing I could think of: used my FTP client to go into 
   the files and remove the screwed up google code. Fixed it in a second.

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

The topic ‘Error on PHP file’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
