Plugin Author
hunk
(@hunk)
Have you other installed plugins?
Thread Starter
vamban
(@vamban)
There is only two plugins are active now in this wordpress installation.
1.SEO Ultimate
2.Magic fields
I have it whereby my Pages Admin panel has vanished! I’m a little too scared to deactivate magic fields in case any of my settings are lost. I have to access the Pages by going into the Dashboard but the menu item for Pages in the left menu is no longer visible.
Thread Starter
vamban
(@vamban)
OMG, Its a compatibility issues with seo-ultimate plugin. Once i deactivated seo ultimate, i got my settings menu back.
That’s odd because I don’t even use that plugin.
I optimised my WP database and the Pages panel appeared once again. You may want to try that.
John
(@johnlamansky)
I tracked down the bug in Magic Fields. Magic Fields alters WordPress’ $menu
global without changing the $_wp_last_utility_menu
global, which causes the “Settings” menu to disappear whenever a plugin (such as SEO Ultimate) calls WordPress’ add_utility_menu()
function.
Until the Magic Fields author fixes this bug, you can add this code after line 375 in magic-fields/RCCWP_Menu.php
:
global $_wp_last_utility_menu;
$_wp_last_utility_menu += $offset;
In context, it’ll look like this:
foreach ($menu as $k => $v) {
if($k > 5) $new_menu[$k+$offset]=$v;
}
global $_wp_last_utility_menu;
$_wp_last_utility_menu += $offset;
$menu = $new_menu;
RCCWP_Menu::SetCurrentCustomWritePanelMenuItem();
– John Lamansky
SEO Ultimate developer
Thread Starter
vamban
(@vamban)
Hello John Lamansky
Thanks for your efforts to find the problem.
But when i posted the same issue in magic fields support, magic fields developer who have replied here..
https://github.com/hunk/Magic-Fields/issues/130#issuecomment-1550846
Which one is correct?
John
(@johnlamansky)
Magic Fields breaks WordPress’s add_utility_menu()
function, which WordPress provides for plugins to use. The Magic Fields author’s solution is to make SEO Ultimate and other plugins stop using add_utility_menu()
, whereas my solution is to make Magic Fields stop breaking the function.
Thread Starter
vamban
(@vamban)
Hello John Lamansky
Thanks for your reply along with the reason.
Like your plugin, your answer is also out of box. Truly amazing…
Great thanks again..
Thread Starter
vamban
(@vamban)
Hello hunk
Thanks for your kind co-operation to troubleshoot the issue. But here i noticed that, still the magic fields plugin not updated in repository.
Do the needful.