Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Issue with WordPress admin after automatic upgrade

  • 08-01-2018 8:41pm
    #1
    Registered Users, Registered Users 2 Posts: 872 ✭✭✭


    Hi,

    A site i manage automatically upgraded to WordPress 4.5.11 a few months ago.
    The website is working fine but the admin area only displays a link to upgrade to version 4.9.11 manually. All other links on the left are not visible.

    The console shows the error below so potentially a jQuery issue ? I tried the upgrade page but it says everything is up to date. I deleted the contents of the plugin folder to disable plugins.

    Any ideas of tips that could help sort this ?

    Thanks
    JQMIGRATE: Migrate is installed, version 1.4.1
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.5.11:3 Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.
        at HTMLHeadingElement.<anonymous> (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:3:23288)
        at Ha (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:3:21075)
        at a.fn.init.after (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:3:23225)
        at a.fn.init.n.fn.(anonymous function) [as insertAfter] (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:3:24510)
        at HTMLDocument.<anonymous> (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,jquery-ui-core,jquery-&load%5B%5D=ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,dashboard,thickbox,svg-painter,heartbeat,wp-auth-check&ver=4.5.11:2:7634)
        at i (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:2:27449)
        at Object.fireWith [as resolveWith] (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:2:28213)
        at Function.ready (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:2:30006)
        at HTMLDocument.K (http://www.alcomis.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.5.11:2:30368)
    (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.5.11:3
    Ha @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.5.11:3
    after @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.5.11:3
    n.fn.(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.5.11:3
    (anonymous) @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,wp-ajax-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,jquery-ui-core,jquery-&load[]=ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,dashboard,thickbox,svg-painter,heartbeat,wp-auth-check&ver=4.5.11:2
    


Comments

  • Registered Users, Registered Users 2 Posts: 396 ✭✭M.T.D


    To disable the plugins you only need to change the name of the folder /plugins to /xplugins
    then you can put them back easily. Generally a website won't function properly if you delete the plugins.
    I see you have put the plugins back. did you do them one by one to check for conflicts?

    Assuming you have ftp or control panel access copy the wp-admin and wp-includes folders from an up to date working WordPress install.

    As always make a back up of your site first


  • Registered Users, Registered Users 2 Posts: 872 ✭✭✭grahamor


    Thanks for the info, turns out the WP Super Cache plugin was causing issues. Deleting that sorted everything out.

    QQ regarding upgrading via the admin UI. If the update button is not visible does that mean the folder permissions are too strict ?

    I only see the option to update via entering FTP details.

    Thanks


  • Registered Users, Registered Users 2 Posts: 396 ✭✭M.T.D


    You can probably reinstall WP Super Cache as the problem is usually the cache, not the plugin.
    So when you do updates, clear the cache before you do anything else.

    Regarding the need for ftp details, wrong folder permissions can give problems but there is the possibility that some of your folders could be protected


  • Registered Users, Registered Users 2 Posts: 6,571 ✭✭✭daymobrew


    grahamor wrote: »
    I only see the option to update via entering FTP details.
    Ask your host's support - the folders might be have the wrong ownership so the web server cannot write to them. I had this for ages (I put my FTP details in wp-config.php) and then support fixed the issue and I was able to remove the FTP details.


Advertisement