Title: Cannot log in(Warning: include_once(includes/custompost.php))
Last modified: August 21, 2016

---

# Cannot log in(Warning: include_once(includes/custompost.php))

 *  Resolved [fricika](https://wordpress.org/support/users/fricika/)
 * (@fricika)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/)
 * hi there,
 * I installed some grid style themes and now it is giving me these Errors on admin
   log in page. So I cannot log in!
 * Warning: include_once(includes/custompost.php) [function.include-once]: failed
   to open stream: No such file or directory in /home4/’myname’/public_html/wp-content/
   themes/themolio/functions.php on line 537
    Warning: include_once() [function.
   include]: Failed opening ‘includes/custompost.php’ for inclusion (include_path
   =’.:/usr/lib/php:/usr/local/lib/php’) in /home4/fricika/public_html/wp-content/
   themes/themolio/functions.php on line 537 Warning: Cannot modify header information–
   headers already sent by (output started at /home4/myname/public_html/wp-content/
   themes/themolio/functions.php:537) in /home4/myname/public_html/wp-includes/pluggable.
   php on line 896
 * So I cannot log in!I checked some forum answers but none them seemed to have 
   problems with logging in. I installed that suspicious Photum theme. But I cannot
   delete because I cannot access my dashboard.
 * Any help?
 * Thank you

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

 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574457)
 * So delete it with ftp
 *  Thread Starter [fricika](https://wordpress.org/support/users/fricika/)
 * (@fricika)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574459)
 * I am new to this, however embarrassed but how can I do that?Do I need to contact
   my hosting company? Or do have to delete wordpress and re-install it?
 * THank you
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574460)
 * download filezilla:
    [https://filezilla-project.org/download.php](https://filezilla-project.org/download.php)
 * enter the server ip and the user name and password you are using to
    login to
   the control panel, after a success login you will see the folders tree on the
   server then navagiate to the theme folder in your site: /site-name/wp-content/
   themes/theme-name
 *  Thread Starter [fricika](https://wordpress.org/support/users/fricika/)
 * (@fricika)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574461)
 * thank you
 *  Thread Starter [fricika](https://wordpress.org/support/users/fricika/)
 * (@fricika)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574463)
 * Thank you I managed somehow. I had to delete all my themes as all got infected.
   After I deleted all the themes except one: twenty fourteen. That was infected
   too, However it let me enter the dashboard where I downloaded a new theme which
   was not infected.
 * thank you

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

The topic ‘Cannot log in(Warning: include_once(includes/custompost.php))’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [fricika](https://wordpress.org/support/users/fricika/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/cannot-log-inwarning-include_onceincludescustompostphp/#post-4574463)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
