WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Flyout menus (3.5 RC1/2) (33 posts)

  1. ceo
    Member
    Posted 1 year ago #

    Noticed this morning that on the Dashboard the flyout/hover menus don't seem to work for me. But ONLY on the main Dashboard page. Just updated to RC2 and it's still doing, or rather not doing, the same thing.

  2. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    This is probably due to a JavaScript error, which is likely a plugin conflict. If you know how to check your browser's console (Developer > JavaScript Console in Chrome), could you look for possible errors? You can deactivate plugins one by one until you find the culprit.

  3. leemon
    Member
    Posted 1 year ago #

    I'm experiencing a similar behavior, but just in the admin dashboard page. When I HOVER over a menu item, its submenu doesn't appear, but when I CLICK (and don't release the mouse button) on the the same menu item, its submenu does appear. I checked out the consoles in both Chrome and Firefox and no errors show up.

  4. leemon
    Member
    Posted 1 year ago #

    The "screen options" and "help" tabs aren't responding either (just in the admin dashboard page)

  5. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    If Screen Options and Help are not responding, then it's definitely a JavaScript issue of some sort. But, it may not be a JavaScript error.

    Here are three different things you can do to help narrow down the problem:

    Can you check your PHP error logs?

    Can you view source on the page and find where scripts are loaded, then visit that URL? There should be two references to this: "wp-admin/load-scripts.php". Does that link bring you a blank screen?

    If you add define( 'SCRIPT_DEBUG', true ); to wp-config.php, does it fix your problem?

  6. leemon
    Member
    Posted 1 year ago #

    Scripts are loaded either in the <head> section or just before the closing </body> tag.

    Visiting "wp-admin/load-scripts.php" brings a blank screen.

    If I add define( 'SCRIPT_DEBUG', true ); to wp-config.php it fixes the problem.

  7. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    Visiting "wp-admin/load-scripts.php" brings a blank screen.

    Just to be clear, I meant the full URL to load-scripts.php, which would probably look like this: wp-admin/load-scripts.php?c=1&load=jquery,utils,json2&ver=3.5-RC2.

    The rest of this post assumes that still gives you a blank screen, which means there is a fatal PHP error happening somewhere. I would love to track this down. So:

    Remove SCRIPT_DEBUG. Open up the file wp-admin/load-scripts.php for editing (the same way you would wp-config.php). At the very top, it says error_reporting(0);. Change that 0 to a -1, so you have error_reporting(-1);. Then visit the same load-scripts.php. You should not be receiving a blank screen, but rather an error.

    If you still receive a blank screen, add a second line to the mix:

    error_reporting(-1);
    ini_set('display_errors', 1);

    After that, if you are still seeing a blank screen, do you think you could locate your PHP error logs anywhere?

  8. leemon
    Member
    Posted 1 year ago #

    Oops! I didn't understand you before.

    Ok, I've made the changes you've told me and now when I visit both instances of /wp-admin/load-scripts.php?c=..... I get the following error:

    Notice: Undefined index: load in /......../wp-admin/load-scripts.php on line 119
    
    Warning: Cannot modify header information - headers already sent by (output started at /......../wp-admin/load-scripts.php:119) in /......../wp-admin/load-scripts.php on line 144
    
    Warning: Cannot modify header information - headers already sent by (output started at /......../wp-admin/load-scripts.php:119) in /......../wp-admin/load-scripts.php on line 145
    
    Warning: Cannot modify header information - headers already sent by (output started at /......../wp-admin/load-scripts.php:119) in /......../wp-admin/load-scripts.php on line 146
    
    Warning: Cannot modify header information - headers already sent by (output started at /......../wp-admin/load-scripts.php:119) in /......../wp-admin/load-scripts.php on line 149
    
    Warning: Cannot modify header information - headers already sent by (output started at /......../wp-admin/load-scripts.php:119) in /......../wp-admin/load-scripts.php on line 151
  9. Brett Shumaker
    Member
    Posted 1 year ago #

    Just chiming in that I'm getting the same issues as OP.

    Following Nacin's instructions I get these errors for .../wp-admin/load-scripts.php?c=1&load=admin-bar,hover...

    Notice: Undefined index: load in /...../wp-admin/load-scripts.php on line 117
    
    Warning: Cannot modify header information - headers already sent by (output started at /...../wp-admin/load-scripts.php:117) in /...../wp-admin/load-scripts.php on line 142
    
    Warning: Cannot modify header information - headers already sent by (output started at /...../wp-admin/load-scripts.php:117) in /...../wp-admin/load-scripts.php on line 143
    
    Warning: Cannot modify header information - headers already sent by (output started at /...../wp-admin/load-scripts.php:117) in /...../wp-admin/load-scripts.php on line 144
    
    Warning: Cannot modify header information - headers already sent by (output started at /...../wp-admin/load-scripts.php:117) in /...../wp-admin/load-scripts.php on line 147
    
    Warning: Cannot modify header information - headers already sent by (output started at /...../wp-admin/load-scripts.php:117) in /...../wp-admin/load-scripts.php on line 149

    My reference to ".../wp-admin/load-scripts.php?c=1&load=jquery,utils,json2&ver=3.5-RC2-22928" does not return any errors.

  10. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    Can both of you convert & to & before visiting those URLs? Browsers are weird.

  11. Brett Shumaker
    Member
    Posted 1 year ago #

    I changed & to & and that causes my reference to ".../wp-admin/load-scripts.php?c=1&load=jquery,utils,json2&ver=3.5-RC2-22928" to error out the same as ".../wp-admin/load-scripts.php?c=1&load=admin-bar,hover..." does.

  12. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    Sorry, my instructions didn't come through correctly in these posts here.

    You're viewing a URL in your browser that likely has these characters in it (with spaces omitted):

    & amp ;

    I need those converted to just an ampersand, thus removing amp and ;.

    There's no good reason for load-scripts.php to return a blank screen.

    Are any of the sites you are reproducing this on public? Can you share a link? Could I additionally convince any of you to let me go into the server and test? (If you, you may email me at nacin -at - wordpress.org.)

  13. Brett Shumaker
    Member
    Posted 1 year ago #

    Hey Nacin,
    The urls I visited did have just ampersands, they weren't encoded.

    You can test on mine. Do you need ftp access or just an admin login?

  14. ceo
    Member
    Posted 1 year ago #

    Look away for a day and...well, wow...

    FWIW, I'm getting the same results as the other posters here. And I can certainly give you whatever access you require to my test site if needed. Just let me know what specifically you need.

  15. Heh, we do that in a bug sprint at the end ;) Have you tested with turning off all the plugins, Cyndy? Or a different theme?

    I've noticed that some plugins/themes are forcibly calling older versions of jQuery UI and cause that behavior.

  16. ceo
    Member
    Posted 1 year ago #

    I did turn off all of the plugins I had and with nothing running it was still not working. I see WP.com's stats aren't loading in the Dashboard, too.

    I did change themes, but not in relation to this and I didn't use any of the default themes so let me go see what that does. I saw the other thread about the Twenty Twelve theme and all. And I do know that all the themes I was playing with didn't make the menus on the Dashboard magically work. (I think I only swapped out a few StudioPress themes.)

    It's interesting that it's only on that one page. If things are calling for older versions of things, I find it kind of strange that it's only on one page of the entire admin panel.

  17. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    So, this is actually happening to my own site. But, it's due to the Jetpack plugin, which it sounds like you still have activated, because you're still seeing WP.com stats. It's that exact widget that is causing the problem.

    I'll report it to the Jetpack developers.

  18. leemon
    Member
    Posted 1 year ago #

    I'm using the Jetpack plugin for the stats, too.

  19. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    What browser is everyone using?

  20. leemon
    Member
    Posted 1 year ago #

    Chrome 23 here

  21. Brett Shumaker
    Member
    Posted 1 year ago #

    I'm on Chrome 23, but I've tested in FF 17 as well with the same result.

    Actually, I'm getting it without Jetpack. The only plugin I have activated is the WP Beta Tester plugin.

  22. ceo
    Member
    Posted 1 year ago #

    nacin, I mentioned the stats issue after I had started to reactivate things. As I said, I can't get the hover/flyout menus to work even with NO plugins enabled. Also, on one of my test sites I have never even installed Jetpack and I have the same issue (and oddly I also seem to have made the media uploader stop popping up, too, but only on that specific site).

    Anyway, I'm using Firefox 16.0.2.

  23. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    At this point I'm out of ideas. If anyone is willing to email me the credentials for an administrator account on their site, I would be happy to track this down. (I may subsequently ask if you can provide me temporary FTP access, but I doubt I will need it.) My email is nacin -at- this domain.

    We're hoping to release WordPress 3.5 this week, so I'd love to make sure this is resolved.

  24. Brett Shumaker
    Member
    Posted 1 year ago #

    Admin login for my site should be coming your way. Let me know if you need anything else from me.

  25. Jeremy Buller
    Member
    Posted 1 year ago #

    I have also experienced this issue, on a fresh (and plugin-free) install, but I thought it was somehow particular to my server, so I marked it as resolved...

    I had tested this with RC1 on a couple of friends' servers (both with different hosts), and the flyouts worked fine... and, since RC2, it has worked fine on my server as well.

    Not sure if I can be of any help here, but would be happy to send along an admin login, nacin, if you need it!

  26. mindctrl
    Member
    Posted 1 year ago #

    I've seen this intermittently on my site. It doesn't happen all the time.

    I do not have Jetpack installed.

    I'm using Chromium Nightly v25 for Mac.

    I'll try to test more and see if I can nail it down. With it only happening sometimes, it's hard to find.

  27. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    Thanks all of you.

    I have opened a bug report: http://core.trac.wordpress.org/ticket/22757.

    Not sure what is happening yet, but I will keep you updated.

  28. mrjarbenne
    Member
    Posted 1 year ago #

    I'm seeing what I believe to be the same issue on WordPress.com. On the admin bar menu on the right, I have a listing of the .org sites I've connected to my account through Jetpack. I can get the initial menu to drop, but subsequent flyouts (Visit Dashboard etc) do not appear when I click on the sitename, and the link doesn't go anywhere.

    On the WP icon on the admin bar on the left, the menu appears, and as there are no second level flyouts each link seems to work fine (referring to the New Post; Reader; Notifications etc.)

    This is on an iPad. I'm mobile today and unable to check this on a desktop.

    https://www.evernote.com/shard/s6/sh/222b8da1-251d-4de5-95ac-812ed2a7247a/1f8dcf14375fab2a376c437caa271e7a

    Apologies if this is a separate issue. It seemed related. I should mention that the same issue exists in RC3 for me on a multisite, wherein the menu on the left that lists "My Sites" is broken in the same manner. I only mention .com to eliminate plugin conflicts on my end from the report.

  29. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    @mrjarbenne: What may be happening on WordPress.com is an unrelated issue. You should report that to the WordPress.com support forums. (It may also just be an iPad thing.)

  30. Andrew Nacin
    Lead Developer
    Posted 1 year ago #

    Okay. Think we got this!

    You are all likely running a hardening patch for PHP called Suhosin, which limits the maximum length for a single $_GET variable to 512 characters. In 3.5, we load enough scripts on the dashboard (because QuickPress loads media, the Plugins box loads the plugin installation scripts, etc.) that we blow right past the 512 characters. End result: No scripts at all.

    Please try this nightly build: http://wordpress.org/nightly-builds/wordpress-latest.zip, 3.5-RC3-23078. All should be right with the world again. Please confirm, of course.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.