Title: Uncaught Errors With All Plugin JS in Admin
Last modified: November 2, 2017

---

# Uncaught Errors With All Plugin JS in Admin

 *  [zacdibble](https://wordpress.org/support/users/zacdibble/)
 * (@zacdibble)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/uncaught-errors-with-all-plugin-js-in-admin/)
 * I ask that you bear with me, I’m a newbie to WordPress. It falls under my job
   requirements so I’m having to learn and fix increasingly faster and more often.
   
   These things began occurring at some point a month ago and it appears to have
   been gradually spreading out from there. It was first noticed with a minor issue
   with Yoast SEO not working correctly with the meta data. At first it was thought
   to be an issue with that plugin specifically. But as time went on, all other 
   plugins are now having issues. Whenever working with these plugins on the admin
   side (errors only occur on this side so far that I know of), they will typically
   return an uncaught error of some variation. Wordpress Editorial Calendar returns:`
   Uncaught ReferenceError: current_user_can_publish_posts is not defined at HTMLDocument.
   <anonymous> (custom-status.js?ver=0.8.2:8) at j (load-scripts.php?c=1&load[]=
   jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,
   jquery-ui-tooltip&ver=4.8.3:2) at k (load-scripts.php?c=1&load[]=jquery-core,
   jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-
   ui-tooltip&ver=4.8.3:2)` When going to create or edit a page, Yoast SEO returns:`
   Uncaught TypeError: Cannot set property ‘cssText’ of undefined at content.index.
   js:12070 at content.index.js:12109 at deletedIds (content.index.js:3949) at Object.
   defineProperty.value (content.index.js:3961) at __webpack_require__ (content.
   index.js:20) at Object.<anonymous> (content.index.js:3410) at __webpack_require__(
   content.index.js:20) at Object.defineProperty.value (content.index.js:2647) at
   __webpack_require__ (content.index.js:20) at Object.defineProperty.value (content.
   index.js:51)`
 * And this goes on with most of the other plugins. I spent a great deal of time
   googling trying to find something that would hopefully lead me to the right place,
   but there has been nothing that has helped even remotely.
    I enabled debugging
   and in the log it gives a “PHP Notice: Undefined offset: 0 in <insert php file
   >”, “Trying to get property of non-object”, “undefined variable”, etc. It just
   seems as if everything stopped working as a result of something that has changed.
   I’m trying to give as much information as I can, but have no idea what information
   to share beyond what I have so far.
 * I’m hoping that someone can point me in the right direction, because this is 
   a huge problem.
    Thanks!

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/uncaught-errors-with-all-plugin-js-in-admin/#post-9645971)
 * Try adding `define('CONCATENATE_SCRIPTS', false);` to your wp-config.php file
   just below the `define('DB_HOST'` line.
 * To do so, access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and edit the file with a [plain text editor](https://codex.wordpress.org/Editing_Files#Text_Editors).
 * [https://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation](https://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation)

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Errors With All Plugin JS in Admin’ is closed to new replies.

## Tags

 * [ReferenceError](https://wordpress.org/support/topic-tag/referenceerror/)
 * [typeerror](https://wordpress.org/support/topic-tag/typeerror/)
 * [uncaught error](https://wordpress.org/support/topic-tag/uncaught-error/)
 * [undefined offset](https://wordpress.org/support/topic-tag/undefined-offset/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/uncaught-errors-with-all-plugin-js-in-admin/#post-9645971)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
