• Resolved YorkshireLad

    (@yorkshirelad)


    Hi,

    Hoping somone could give me a few pointers on this. On a password-protected site (hence no link) we have a customised Amdin Bar. It was working fine until I upgraded to 3.6; but now, none of the drop-down menus appear in the front end. Back end, they appear as expected.

    I took out the customisations, and the drop-downs (e.g. for ‘+ New’) still don’t work in the front end.

    IE reports this error:

    Message: Object doesn't support this property or method
    Line: 1
    Char: 1159
    Code: 0
    URI: /wp-includes/js/admin-bar.min.js?ver=3.6\

    I then thought I’d re-install 3.6 via the Updates option in Dashboard. When I start the proces running, I get the following message:

    Fatal error: Cannot redeclare class Plugin_Upgrader in (...)/wp-admin/includes/class-wp-upgrader.php on line 640

    So: I’m guessing the menu code is fine, but I had an issue with the upgrade. Anyone seen similar messages? All the other sites I manage are fine. Is my best option to do a manual overwrite of all the core files via FTP?

    Gary

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    I believe with the upgrade to WordPress 3.6 they also updated the base jQuery file to 1.1x which has a lot of methods removed and replaced.

    In this case bind() was replaced by on(), the admin-bar.min.js file contains the older not supported bind() method.

    Thread Starter YorkshireLad

    (@yorkshirelad)

    Well, there you go. A rogue call in the theme’s header to the jQuery CDN, of all things. Commented out and the menus work on the front end as they should.

    Memo to self: check other templates for random jQuery calls…

    Thanks!
    Gary

    Hi Gary
    will you be so kind to give me a hand?
    How did you “commented out”.
    Have similar issue after updating to 3.6.
    But have no glue to ship around this ..
    Thanks,

    George

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Admin Bar issue post-3.6 upgrade’ is closed to new replies.