Forums

Magic Fields
WordPress Settings Menu Disappears (15 posts)

  1. vamban
    Member
    Posted 11 months ago #

    Hello

    Thanks for your great plugin.

    Yesterday, i have activated magic fields wordpress plugin in one of my blog.

    After activated, wordpress admin settings menu disappears. Take a look on this screenshot.

    http://i52.tinypic.com/2uehd38.png

    But setting menu URL http://www.mywebsitesite.com/wp-admin/options-general.php is accessible by manually.

    Is it plugin compatibility issue? How can i resolve this issue?

  2. vamban
    Member
    Posted 11 months ago #

    Bump

    any one help me out?

  3. hunk
    Member
    Posted 11 months ago #

    Have you other installed plugins?

  4. vamban
    Member
    Posted 11 months ago #

    There is only two plugins are active now in this wordpress installation.

    1.SEO Ultimate
    2.Magic fields

  5. greencode
    Member
    Posted 11 months ago #

    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.

  6. vamban
    Member
    Posted 11 months ago #

    OMG, Its a compatibility issues with seo-ultimate plugin. Once i deactivated seo ultimate, i got my settings menu back.

  7. greencode
    Member
    Posted 11 months ago #

    That's odd because I don't even use that plugin.

  8. vamban
    Member
    Posted 11 months ago #

    Anyone there to help me?

  9. greencode
    Member
    Posted 11 months ago #

    I optimised my WP database and the Pages panel appeared once again. You may want to try that.

  10. John Lamansky
    Member
    Posted 10 months ago #

    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

  11. vamban
    Member
    Posted 10 months ago #

    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?

  12. John Lamansky
    Member
    Posted 10 months ago #

    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.

  13. vamban
    Member
    Posted 10 months ago #

    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..

  14. hunk
    Member
    Posted 10 months ago #

    Thanks John, fixed

  15. vamban
    Member
    Posted 10 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic