Support » Fixing WordPress » Top dropdown sub-menus do not show

  • Resolved cafargo


    Hello Forum members.

    All of a sudden yesterday, I discovered that my two (Photocrati theme) WP sites’ menu bar dropdown submenus do not show up anymore? Aside from creating a few new pages, I have not made made any major changes to php files/code on either site and no new plugins were installed or updated.

    Here are my two web URLs:

    I went through a variety of troubleshooting experiments suggested by WP forum threads (e.g. the perennial classic of deactivating/activating the plugins, re-creating my menus, etc…), but all to no avail. I’m stuck with this issue as my two sites depend largely on the sub-menu links that lead to half my sites’ key pages.
    Curiously, I ran a javaScript console check from my Chrome browser while hovering over and clicking one of the main menu bar menu links and obtained the following error messages (perhaps this will help). Interestingly enough, the ‘msie’ reference seems to point to microsoft internet explorer, which is confusing me as I installed a Java Chrome? Also, I the same problem occurs on IE9 and FFox, but the menus are very normal when my pages are viewed on mobile devices??? BTW, Photocrati forums point to the WP suggestions relating to this type of problem:

    Uncaught TypeError: Cannot read property ‘msie’ of undefined jquery.fancybox-1.3.4.pack.js:18
    (anonymous function) jquery.fancybox-1.3.4.pack.js:18
    (anonymous function) jquery.fancybox-1.3.4.pack.js:46

    Uncaught TypeError: Object [object Object] has no method ‘fancybox’
    (anonymous function)
    f jquery.min.js:1
    p.fireWith jquery.min.js:1
    st.extend.ready jquery.min.js:1
    xt jquery.min.js:1

    Uncaught TypeError: Cannot read property ‘msie’ of undefined superfish.js:1
    a.IE7fix superfish.js:1
    b.fn.extend.showSuperfishUl superfish.js:1
    i superfish.js:1
    compare hoverIntent.js:1
    (anonymous function)

    Any thoughts, suggestions and help would be immensely appreciated.
    Un gros merci – thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi


    Forum Moderator

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s vendors.

    And they sent me here to the WP forum. Ah well…

    Thank you.

    Esmi: Photocrati just this minute posted this important information (with a temporary workaround) on their website regarding the problem. I suspect it’s pretty widespread amongst Photocrati users:

    JQuery Issue With Drop Menus and Galleries – January 16th

    Again, many thanks.

    I’m not using a Photocrati theme and had the same problem. I had to force version 1.8.x of jQuery to fix. I’m using the Superfish Menus plugin. Something changed in jQuery 1.9 to cause the issue, I guess?

    wp_deregister_script('jquery'); // deregister packaged jquery
    wp_enqueue_script('jquery', '');

    Chris you are right, here is the post on jQuery explaining this:

    Gentlemen. Thanks for your replies. I was going absolutely nuts working into the early hours of the morning trying to solve this issue.

    Remember this: Java had to issue an emergency fix for jv due to the well know security breaches in the SW. In my case, Photocrati (as with most other folks) was behind the curve and are working diligently to create a patch fix for their community of users.
    However, in my situation a simple addition of two ‘comment out’ characters fixed my dropdown problem.
    Here is Photocrati’s post concerning the issue:
    We are aware of a sudden loss of functionality with drop down menus and gallery sections in some theme versions as a result of a global update to JQuery 1.9 which occurred late in the day on January 15th, and are taking steps to correct it as we speak. As soon as we have a solution we will be emailing all users, as well as posting to social media and on our blogs. We do apologize for any inconvenience, and are working to correct this issue as swiftly as possible.
    As a temporary solution, you can go to your WordPress files via FTP or through your web hosts admin area / CPanel, and make your way to:
    wp-content > themes > photocrati-theme > header.php
    (**theme names may vary slightly – be sure to work within your active Photocrati theme if you have multiple instances**)
    open the header.php file, and comment out lines 169 and 170 by adding // to the front.
    change this…
    wp_register_script(‘jquery’, (“”), false, ”);
    to this…
    //wp_register_script(‘jquery’, (“”), false, ”);
    This should resolve the issue, and we will have a more permanent solution as quickly as possible.
    Thank you.

    Cheers and thanks again!!!

    This fixed my theme too. I hadn’t noticed that the menu wasn’t working properly until recently. I commented out this script

    <script type="text/javascript" src=""></script>

    and it’s back to normal again.

    Thanks a million!

    Just an addendum to this issue:

    Photocrati relased version 4.5.1 which includes a fix for the Jquery/dropdown submenu problem (among others). I’m sure there will be a host of plugin authors who will be updating their products as a result of the Javascript issue as well.


    legend! i was cracking up trying to sort this one!!

    in my case is searched for: wp_deregister_script(‘jquery’);

    and it was located in Theme.php in my theme folder:


    wp_deregister_script( ‘jquery’ );
    wp_register_script(‘jquery’, (“”), false, ”);


    //wp_register_script(‘jquery’, (“”), false, ”);

    worked like a charm, thanks lads! 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Top dropdown sub-menus do not show’ is closed to new replies.