Title: java error
Last modified: August 21, 2016

---

# java error

 *  [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/)
 * Hello,
    i’m getting java error when i try to log my wordpress site , my wordpress
   site is multisite network
 * wish you help please
 * thanks
 * [http://wordpress.org/extend/plugins/ag-custom-admin/](http://wordpress.org/extend/plugins/ag-custom-admin/)

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

 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813730)
 * Can you please check the browser’s console to see which error you have? Please
   post it back here. Thanks.
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813733)
 * hello,
    i got the error only on multisite network otherwise it work fine for 
   single wordpress site
 * thanks
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813813)
 * On root or child site? Please take a look at browser’s console. There should 
   be some JavaScript errors that can help us to isolate the problem
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813822)
 * the problem happen on root main site of the network
    i will install the plugin
   again and show you the error
 * thanks a lot for your help
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813828)
 * now different error
    i’m not able to log admin cpanel and it gives me below message
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/megrab/public_html/wp-content/themes/sahifa/custom-functions.php:4) 
   in /home/megrab/public_html/wp-includes/pluggable.php on line 876
 * thanks
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813829)
 * below is what i copied from console
 * [14:11:20.943] The character encoding of the HTML document was not declared. 
   The document will render with garbled text in some browser configurations if 
   the document contains characters from outside the US-ASCII range. The character
   encoding of the page must be declared in the document or in the transfer protocol.
   @ [http://megrab.com/wp-dmin](http://megrab.com/wp-dmin)
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813832)
 * this is now problem with your theme. you should remove this theme temporary in
   order to access WP admin. you should probably go to FTP and temporary remove /
   home/megrab/public_html/wp-content/themes/sahifa folder, and try to access admin
   after that
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813833)
 * i was able to access wp admin after removing the plugin
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813841)
 * this does not seem to be related with AGCA so far. it looks like that your theme
   is problematic. please go to your theme “sahifa” and try to add this:
 * >     ```
   >     <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
   >     <meta content="utf-8" http-equiv="encoding">
   >     ```
   > 
 * inside head tags of the theme
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813843)
 * thanks you but which file for the theme please ?
 * thanks for your patient
 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813846)
 * you should check first what is making output here
    /home/megrab/public_html/wp-
   content/themes/sahifa/custom-functions.php on line 4
 * check for blank spaces outside of <?php ?> tags
 * like
 * > //this is not OK, should be deleted
   >  <?php //this is OK ?> //this is not OK,
   > should be deleted
 *  Thread Starter [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * (@osamaalani)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813865)
 * thanks a lot for your time i will give it a try

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

The topic ‘java error’ is closed to new replies.

 * ![](https://ps.w.org/ag-custom-admin/assets/icon.svg?rev=2928712)
 * [AGCA - Custom Dashboard & Login Page](https://wordpress.org/plugins/ag-custom-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ag-custom-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ag-custom-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/ag-custom-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ag-custom-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ag-custom-admin/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [osama.alani](https://wordpress.org/support/users/osamaalani/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/java-error-2/#post-3813865)
 * Status: not resolved