Title: UPDATE &#8211;&gt; PHP Errors &#8211;&gt; Dashboard Errors&#8230;
Last modified: August 22, 2016

---

# UPDATE –> PHP Errors –> Dashboard Errors…

 *  Resolved [Robswaimea](https://wordpress.org/support/users/robswaimea/)
 * (@robswaimea)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/update-php-errors-dashboard-errors/)
 * Theme Twentyfourteen
    UPDATE –> PHP Errors –> Dashboard Errors… Update Version
   3.1 (01/20/15)
 * Just started using the plugin this week. And I like it.
 * But the last update caused two problems…
 * > PHP Warning: Cannot modify header information – headers already sent by (output
   > started at /wp-admin/includes/template.php:1867) in /wp-content/plugins/custom-
   > login/includes/admin/dashboard.php on line 196
 * Second: On my Dashboard page… the Admin links on the left hand side, hovering
   over an item… ie: Hover over Settings—> does not pop up the list of Settings.
 * Deactivating.. and installing previous version problems go away.
 * [https://wordpress.org/plugins/custom-login/](https://wordpress.org/plugins/custom-login/)

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

 *  Plugin Author [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/update-php-errors-dashboard-errors/#post-5699976)
 * Okay, I know what the issue it, just not sure why your install is seeing that.
   I’ve got a way to fix this possibly.
 * Could you run a test for me? If you’ve got access to your plugin editor page 
   can you visit it. Or add this to your website url: `wp-admin/plugin-editor.php?
   file=custom-login%2Fincludes%2Fadmin%2Fdashboard.php&plugin=custom-login%2Fcustom-
   login.php`
 * If you scroll almost to the end of the file and find this section:
 *     ```
       elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
   
       	header("content-type:application/x-javascript");
       	ob_start();
       	str_replace( ob_end_clean(), '', ob_end_clean() );
       	$this->jQuery();
       	echo ob_get_clean();
       	die;
       }
       ```
   
 * and add: `if ( !headers_sent() )` on the line before `header("content-type:application/
   x-javascript");`
 * Which should look like:
 *     ```
       elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
   
       	if ( !headers_sent() )
       		header("content-type:application/x-javascript");
       	ob_start();
       	str_replace( ob_end_clean(), '', ob_end_clean() );
       	$this->jQuery();
       	echo ob_get_clean();
       	die;
       }
       ```
   
 * If you do so, can you let me know if this solves your issue.
 *  Thread Starter [Robswaimea](https://wordpress.org/support/users/robswaimea/)
 * (@robswaimea)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/update-php-errors-dashboard-errors/#post-5699999)
 * Uhhhh…. well…..
    In the file
 * > custom-login/custom-login.php
 * I couldn’t even find the block of code you mention……..
 *     ```
       elseif ( isset( $_GET['type'] ) && $_GET['type'] === 'js' ) {
   
       	header("content-type:application/x-javascript");
       	ob_start();
       	str_replace( ob_end_clean(), '', ob_end_clean() );
       	$this->jQuery();
       	echo ob_get_clean();
       	die;
       }
       ```
   
 * As a matter of interest… I searched in the code for
    elseif ob_start java
 * and none of those search terms were even in the file custom-login.php
 * And… I also went over to GitHub… and looked at the custom-login.php file there…
 * So… unless I am super clueless, which is possible on any given day 🙂 ….
 * I don’t know wassszzz- wit dat…
 * I just deleted and reinstalled again the previous version.

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

The topic ‘UPDATE –> PHP Errors –> Dashboard Errors…’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Robswaimea](https://wordpress.org/support/users/robswaimea/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/update-php-errors-dashboard-errors/#post-5699999)
 * Status: resolved