• Hi there,

    I am seeing strange behavior from one of my sites for a week or so. On the all posts page, quick edit is not working at all. And in the edit post page, I’m unable to do any changes in Yoast SEO fields at the bottom of the post where you add social images and meta.

    Also, buttons like Status, date change, and theme panel tabs are not working.

    I checked in the chrome developer console and found these error – http://prnt.sc/16oybf3 https://prnt.sc/16oyafl

    Then I installed jQuery Migrate and changed the jQuery Version to
    Legacy 1.12.4-wp. After this, things started to work normally. But now, my writer (with author access) is not able to save drafts. Whenever he clicks on the save draft button, the post gets deleted, and he is left with an empty post with the only title.

    I’m using newspaper theme on the website. Theme and all the plugins are updated to their latest version available. The website is running on a Godaddy VPS.

    Please help me out with this. I have been trying to find a solution for many days. I have also tried to disable all the plugins, and without jQuery plugin, the buttons don’t work at all.

    • This topic was modified 4 years, 11 months ago by san2edat.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    You don’t want to rely upon the migration plugin, it’s intended as a stop gap until the offending code can be updated. Since it causes other issues, let’s focus on the original problem.

    Not a function errors can be caused by script modules loaded out of order. If you have any optimization plugins active, try disabling all script optimization to see if that makes any difference.

    The errors seem to be related to the easy social share buttons plugin. The core postbox errors are likely due to it being passed invalid data from the social buttons plugins. I recommend seeking assistance through the dedicated support channel of the social buttons plugin. We’re unable to help you here with issues related to commercial plugins.
    https://support.creoworx.com/forums/forum/wordpress-plugins/easy-social-share-buttons/

    Thread Starter san2edat

    (@san2edat)

    Hello there,

    Thank you for your helpful reply.

    I tried both disabling the easy social share plugin and turning off all the optimization settings in WP rocket as well as disabling it but the problem is still the same. Without the migration plugin, the site is working fine only buttons are not working in edit post page. For now I have disabled the migration plugin.

    I have also updated my theme today as a new update was released recently but it also didn’t fix it.

    As I can check in the console, it is referring to files in WP Includes for errors like:

    /wp-includes/js/jquery/ui/slider.min.js?ver=1.12.1
    wp-includes/js/jquery/ui/mouse.min.js?ver=1.12.1

    https://prnt.sc/192v9mw

    Does that mean there is something wrong with my WordPress installation?

    I have even deleted the WP Includes folder and replace it with a new one downloaded from the WordPress site.

    One of my other websites is also running the same theme and plugins but there is no such problem with it.

    Moderator bcworkz

    (@bcworkz)

    It’s difficult to decipher minified JS files. Please add this to wp-config.php:
    define( 'SCRIPT_DEBUG', true );
    (replace any existing ‘SCRIPT_DEBUG’ line that might already exist)
    And disable any auto-minification from plugins.
    Then non-minified versions will be used and error messages will make a bit more sense. And following links to source code will result in more readable code.

    While not a function errors can be due to scripts loaded out of order, it will also occur if a file is entirely missing from those loaded.

    Check /wp-content/mu-plugins/ folder (if it exists) for another possible source of plugin conflict. Plugins here need to be moved elsewhere to deactivate. “mu” stands for “must use”.

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

The topic ‘Many features not working – Errors in Developer Console’ is closed to new replies.