Title: Javascript Not Functioning On Admin Pages after 3.3 Upgrade
Last modified: August 20, 2016

---

# Javascript Not Functioning On Admin Pages after 3.3 Upgrade

 *  Resolved [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/)
 * Just upgraded to 3.3 – site still runs fine, but admin pages broken. No Javascript–
   can’t upload media, screen options doesn’t pull down, etc. Also no admin bar 
   when browsing site when logged in. No apparent errors.
 * Followed master list, installed Hotfix 0.8, no dice. Switched to twenty-eleven,
   and that immediately fixed it, so i know it is a theme issue. Can’t see anything
   in the CSS that could cause problem – any tips? Assuming it must be a javascript
   issue, but I don’t even know where to begin.
 * Thanks to all who try to help, it is much appreciated. Fortunately site is not
   down, but I have updates scheduled and can’t do them (no upload capability).

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/page/2/?output_format=md)

 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447214)
 * BTW – also disabled plugins, that didn’t change anything, only seems to be theme-
   related. Also tried manual install.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447227)
 * Do you intend to give us some sort of clue as to which theme you are using?
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447246)
 * sorry, it’s completely custom. what can i post that would help?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447249)
 * Mentioning that it was a custom/bespoke theme would have helped. Try removing
   all javascript from your theme. If that doesn’t work, start emptying out the 
   function.php file. Also [turn debug on](http://codex.wordpress.org/Editing_wp-config.php#Debug)
   and [enable error logging](http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log).
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447351)
 * Thanks for your help. Will try that first. I’m trying to figure out, though, 
   why the theme javascript would affect the admin pages. As far as I can tell no
   code from the theme is pulled in the admin, is it?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447449)
 * Oh… yes…
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447504)
 * ok, tried removing the entire contents of main.js, as well as emptying functions.
   php, to no avail. I’m looking at the header of the dashboard admin page, and 
   I don’t see it loading anything theme-specific. Will work on debugging next, 
   but I’m having a hard time seeing where my theme is messing up my dashboard as
   I don’t see anything being loaded from the theme….thanks again
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447507)
 * When I enable debug I get the following errors (never messed with debug before,
   so trying to sort out which are critical and which are not)…
 *     ```
       Notice: Undefined index: aiosp_google_analytics_id in /var/www/domain/htdocs/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php on line 693
   
       Notice: Undefined index: aiosp_enabled in /var/www/domain/htdocs/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php on line 717
   
       Notice: Undefined index: aiosp_enabled in /var/www/domain/htdocs/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php on line 717
   
       Notice: Undefined index: page in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms.php on line 91
   
       Notice: Undefined property: CustomContactFormsAdmin::$getAdminOptionsName in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms.php on line 62
   
       Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /var/www/domain/htdocs/wp-includes/functions.php on line 3458
   
       Notice: Undefined index: ccf_export in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms-admin.php on line 40
   
       Notice: Undefined index: ccf_clear_import in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms-admin.php on line 51
   
       Notice: Undefined index: ccf_merge_import in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms-admin.php on line 51
   
       Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/domain/htdocs/wp-includes/functions.php on line 3542
   
       Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/domain/htdocs/wp-includes/functions.php on line 3542
   
       Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/domain/htdocs/wp-includes/functions.php on line 3542
   
       Notice: add_contextual_help is deprecated since version 3.3! Use get_current_screen()->add_help_tab() instead. in /var/www/domain/htdocs/wp-includes/functions.php on line 3458
   
       Notice: Undefined property: CustomContactFormsDashboard::$getAdminOptionsName in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms.php on line 62
   
       Notice: Undefined property: CustomContactFormsDashboard::$getAdminOptionsName in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms.php on line 62
   
       Notice: Undefined property: CustomContactFormsDashboard::$getAdminOptionsName in /var/www/domain/htdocs/wp-content/plugins/custom-contact-forms/custom-contact-forms.php on line 62
       ```
   
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447508)
 * Can you post (via Pastebin) your `header.php` and `functions.php` files?
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447509)
 * > Thanks for your help. Will try that first. I’m trying to figure out, though,
   > why the theme javascript would affect the admin pages. As far as I can tell
   > no code from the theme is pulled in the admin, is it?
 * That depends _entirely_ on the Theme, and how you’re linking/including/enqueueing
   scripts. If done _properly_, front-end scripts will not be loaded in the back
   end. But, we need to see the actual code, in order to sort it out.
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447511)
 * header.php > [http://pastebin.com/GK2t3u1B](http://pastebin.com/GK2t3u1B)
 * functions.php > [http://pastebin.com/qfU6HDRs](http://pastebin.com/qfU6HDRs)
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447512)
 * Chip – not sure if it is done properly, I didn’t personally build the theme. 
   would appear it is not – but everything did work perfectly on 3.2.1
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447518)
 * Hmm, okay… can you also post pastebins for the following files?
 *     ```
       include( TEMPLATEPATH.'/constants.php' );
       include( TEMPLATEPATH.'/classes.php' );
       include( TEMPLATEPATH.'/widgets.php' );
       ```
   
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447529)
 * classes.php > [http://pastebin.com/H2PuzzE3](http://pastebin.com/H2PuzzE3)
    widgets.
   php > [http://pastebin.com/aVbK58dM](http://pastebin.com/aVbK58dM)
 * there is no constants.php.
 *  Thread Starter [pmcmillan3698](https://wordpress.org/support/users/pmcmillan3698/)
 * (@pmcmillan3698)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/#post-2447531)
 * disregard the last post, those were from wrong site, sorry!!!!!
 * here are the correct links:
 * constants.php > [http://pastebin.com/P7QujqzB](http://pastebin.com/P7QujqzB)
   
   classes.php > [http://pastebin.com/xVmUM7WJ](http://pastebin.com/xVmUM7WJ) widgets.
   php > [http://pastebin.com/y08as99N](http://pastebin.com/y08as99N)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/page/2/?output_format=md)

The topic ‘Javascript Not Functioning On Admin Pages after 3.3 Upgrade’ is closed
to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 24 replies
 * 6 participants
 * Last reply from: [webfanatic](https://wordpress.org/support/users/webfanatic/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/javascript-not-functioning-on-admin-pages-after-33-upgrade/page/2/#post-2447603)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
