Support » Fixing WordPress » Cannot edit widgets after updating to 4.9

  • Resolved fovos

    (@fovos)


    After the latest wp update, i cannot edit any widget. It hides everything except from the buttons (save etc).

    i consider this as a bug since everything worked nice with 4.8

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator t-p

    (@t-p)

    – Any error message?
    – Please check the error logs on your server for a more specific error message and see why it’s failing. If you need help locating them, ask your hosting provider to help you with that.
    – If you cannot find error logs or if you don’t find any helpful info in the error logs, try Enabling debugging

    same problem here

    Moderator t-p

    (@t-p)

    side note to @wroose,

    please do not jump into other topics. If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. That way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.

    Here are the errors that google chrome developer shows after loading the widgets page:

    Uncaught TypeError: Cannot read property ‘init’ of undefined
    at widgets.php:125
    widgets.php:129 Uncaught TypeError: Cannot read property ‘modelConstructors’ of undefined
    at widgets.php:129
    widgets.php:137 Uncaught TypeError: Cannot read property ‘modelConstructors’ of undefined
    at widgets.php:137
    widgets.php:145 Uncaught TypeError: Cannot read property ‘modelConstructors’ of undefined
    at widgets.php:145
    widgets.php:153 Uncaught TypeError: Cannot read property ‘modelConstructors’ of undefined
    at widgets.php:153
    widgets.php:163 Uncaught TypeError: Cannot read property ‘idBases’ of undefined
    at widgets.php:163
    widgets.php:169 Uncaught TypeError: Cannot read property ‘defaultSettings’ of undefined
    at widgets.php:169
    widgets.php:176 Uncaught TypeError: Cannot read property ‘idBases’ of undefined
    at widgets.php:176
    widgets.php:23835 Uncaught ReferenceError: wpWidgets is not defined
    at widgets.php:23835
    cropped-cropped-header-2.jpg Failed to load resource: net::ERR_CONNECTION_RESET

    The last error (ERR_CONNECTION_RESET) is really strange since there is no connection change on my PC.
    I repeat that none of the above errors were showing on 4.8.

    I appreciate your quick answers and your help.

    Moderator t-p

    (@t-p)

    Try:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you don’t have access to your Dashboard’s Plugins page, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Seventeen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    If you don’t have access to your Dashboard’s Appearance page, access your server via FTP/ SFTP , or a
    file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and switch to the
    default theme by renaming your current theme’s folder by adding "-old" to the end of the folder name. Alternately, you can remove other themes except the default
    theme (Twenty Seventeen). That will force your site to use it.
    – If the above steps do not help, try MANUALLY updating. Download WordPress again and unzip it. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Please read the Manual Update directions first.

    @fovos, did you get a solution? I have the same errors here.

    Getting the same problem, but not a single solution.
    Tried updating wordpress and all the plugins, also tried switching the theme as well. But nothing worked

    I have the same issue, no solution… anyone has fixed it?

    Fixed it: remove “defer parsing of javascript” functions in functions.php

    Great! Thank you!

    Thank you @krazygyal. Your solution worked for me.

    Great! Thank you! @krazygyal

    • This reply was modified 1 year, 5 months ago by  tranlan88.

    Awesomee @krazygyal

    Its work perfectly.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cannot edit widgets after updating to 4.9’ is closed to new replies.