Title: Error when editing core.php file
Last modified: August 21, 2016

---

# Error when editing core.php file

 *  [ElieH](https://wordpress.org/support/users/elieh/)
 * (@elieh)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-corephp-file/)
 * Hello, when I edit the core.php file inside prana/lib/
 * I get this funny error
 * Parse error: syntax error, unexpected T_FUNCTION in /home/content/72/10592772/
   html/wp/wp-content/themes/prana/lib/core.php on line 1
 * even if I add a class to a <div> tag I get this error :/, I would appreciate 
   some help, my client needs this in 24 hours ;(

Viewing 1 replies (of 1 total)

 *  Thread Starter [ElieH](https://wordpress.org/support/users/elieh/)
 * (@elieh)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-corephp-file/#post-4159765)
 * Interesting enough, I have been editing the file on my computer then uploading
   it via ftp, and I would get the error.
 * However when I edit the file inside wordpress using the casual theme editor, 
   things would work out.
 * hmmm

Viewing 1 replies (of 1 total)

The topic ‘Error when editing core.php file’ is closed to new replies.

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

 * 1 reply
 * 1 participant
 * Last reply from: [ElieH](https://wordpress.org/support/users/elieh/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-corephp-file/#post-4159765)
 * Status: not resolved