• 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)
Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught Errors With All Plugin JS in Admin’ is closed to new replies.