Admin Menu can’t be saved
-
Steps to Reproduce:
- In WP Dashboard, go to “Tools” > “Enhancements”
- Go to “Admin Interface”
- Enable “Admin Menu Organizer”
- Refresh
- Go to “Settings” > “Admin Menu”
- Move some stuff around
- Click on Save button
Nothing happens. Just a spinning wheel. Screenshot: https://paste.pics/T406X.
Console output: https://paste.pics/T407T
Hope you can find a fix π
Thanks!
The page I need help with: [log in to see the link]
-
@mrmatteastwood thanks for reporting this. In your screenshot, the JS error is “HTTP/2 400”, which looks like some kind of network error, not an error related to the actual script in a JS file. It looks like the “Save Changes” button tried to call admin-ajax.php, but was not successful due to the “HTTP/2 400” error, which explains why you’re seeing the progress indicator keeps spinning and not changing to a success icon. In other words, this does not look like something is faulty on ASE’s side.
Will be on the look out if other users are reporting something similar, but so far, after v7.8.5 release which contains the change to the Admin Menu Organizer module, and 40k+ downloads as of right now, you’re the only user reporting this issue. So, could indeed be something specific to your environment / setup / hosting / site.
Thanks for your quick answer! much appreciated. I am reporting this to my hosting company.
I have the same exact error. when saving, nothing happens. Just a spinning wheel. Same console error 404 on admin-ajax
-
This reply was modified 1 year, 1 month ago by
Wikis.
I am running into the same issue. Spinning save button. Can exit and it reverts to the last set order.
WP 6.7.2ASE 7.8.5
thanks.
@wikis do you mind sharing a screenshot of the console error?
@anamazon can you check your browser console for any JS error when you hit “Save Changes”? You can right-click on an empty spot in the Admin Menu page, click “Inspect” and then click on the “Console” tab. If you see a JS error, please take a screenshot and share it in your next reply. You can use something like https://www.imagebam.com/ to upload the screenshot and share it here. Thank you.
@mrmatteastwood @anamazon @wikis additionally, please also try to manually install this v7.8.5 with a possible fix for the issue you’re reporting: https://www.wpase.com/sdc_download/2082/?key=41gem1ci1m9fxmocynkb8envze4ags
@qriouslad – It worked before.
But now I get the same Issue.
AND – it is not working on websites that used to work.
The menus were saved with a certain order, and that order is displayed in Admin.
But we can’t change the order.
also, I tryed ordering with code snippet, usingfunction custom_menu_order($menu_ord) {
if (!$menu_ord) return true;
return array(‘index.php’, ‘admin.php?page=e-form-submissions’);
}
add_filter(‘custom_menu_order’, ‘custom_menu_order’);
add_filter(‘menu_order’, ‘custom_menu_order’);
and it only works if I disable custom menu order from ASE.
Both sites are updated to latest version of WP and all plugins updated.Just installed your patch, get the same error
load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:2
POST https://www.tdmetal.ro/wp-admin/admin-ajax.php 400 (Bad Request)send @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:2
ajax @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:5
e. @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:5
(anonymous) @ admin-menu-organizer.js?ver=7.8.5:21
dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:2
v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.7.2:2Understand this errorAI
admin-menu-organizer.js?ver=7.8.5:30 {readyState: 4, getResponseHeader: Ζ, getAllResponseHeaders: Ζ, setRequestHeader: Ζ, overrideMimeType: Ζ, β¦}Confirmed not to be working in current version. Just a spinning save icon as other have reported.
@tazmandev @overspeed99 thank you for the additional reports. I’m still puzzled as to why it’s a 400 (bad request) error.
@everyone I appreciate your help and patience. Please consider doing the following three things so we can narrow down what could be the cause of the issue:
- Go to Tools >> Site Health >> Info and copy your WP environment info in your next reply here
- Install and activate Query Monitor, and check in it’s admin bar panel if there are any error / info when Save Changes is only showing the circling progress indicator.
- Install Debug Log Manager, activate error login there, and check for any PHP error after you hit Save Changes in Admin Menu Organizer.
Thank you for your help. Once you’ve done the above steps, feel free to downgrade to v7.8.4, so you can use the previoius UI in the main ASE settings page to organize the admin menu items.
@everyone please disregard my previous reply. I’ve combed through the code changes in v7.8.5 and found the root cause. I’ve just released v7.8.5.1 with the fix. Please update and test whether that fixes the issue (or not). Thanks!
Works! Thanks for being on top of this and releasing a fix so quickly. Much appreciated π
@qriouslad I wanted to invite you to remote me last night ( was 4 AM for me )
I forogot to mention that particular page had a JS error regarding TinyMCE editor,
I thought it was about the website, then I noticed that TinyMCE editor js error was only on that page.
If that was a cause, It would have spared you from some work I guess.
Anyway, great plugin, awesome developer.@mrmatteastwood great! Thanks for confirming.
@tazmandev no worries. The cause was actually not a JS error at all, but on the PHP side. Thanks!
@everyone if you find ASE useful for your site(s) / workflow, please kindly consider leaving a quick review for ASE at https://ww.wp.xz.cn/plugins/admin-site-enhancements/#reviews. Thanks!
Sorry for the late reply, weβre in different time zones. Iβve confirmed itβs working on the latest version. Thanks for acting fast and releasing the fix right away. Really appreciate it!
-
This reply was modified 1 year, 1 month ago by
The topic ‘Admin Menu can’t be saved’ is closed to new replies.