Menu Locations Not Copying Consistently

Hello. The site I'm working on is experiencing menu copying errors for 20% - 30% of newly created sites.

When an error occurs, it seems that the Menu Locations are not being assigned. That is, the main and footer menus are being copied, but on the Manage Locations tab, neither the main navigation menu nor the footer navigation menu have any menu assigned.

Of course, for the other 70% - 80% of sites, everything works perfectly and the menu locations are assigned.

The site is WP 3.6.1 using New Blog Templates 2.7.1. and Multi-DB is being used. WP is running on Ubuntu 12.04 with nginx and php5-fpm.

For reasons beyond my control, upgrading WP is not an option. Also, there are *many* plugins on this site, so I would like to avoid turning each one off if at all possible.

Any ideas what might be causing this/where to start looking for the problem?

Thanks for your help!
Mike

  • Tyler Postle
    • CGO

    Hey Mike,

    Hope you're doing well today and thanks for your question!

    Running a version of WP that is over a year old will make this a bit tricky, as you are bound to run into conflicts in these cases and sometimes the fix can end up breaking something else.

    However, I do understand upgrading isn't an option, so lets see what else we can do here :slight_smile:

    Are you using any plugins for menus? or just default WP menus?

    Also, is this the same template that sometimes works and sometimes doesn't? There must be something different between sites that are templating correctly and ones that aren't. Once we find that we should be able to get closer to a resolution.

    Look forward to hearing back Mike!

    All the best,
    Tyler

  • Mike
    • WPMU DEV Initiate

    Tyler,

    Hello. Thanks for responding so quickly. The only menu-related plugin being used here is Nav Menu Roles (which allows for hiding menu items based on user roles).

    The truly mystifying thing is that it's *definitely* the same template for the sites that work and those that don't. I've tested this myself, creating accounts back-to-back within a minute of each other, and the first one will work and the second one will fail (again, I'm having about an 25% failure rate, having created over 100 sites at this point).

    I will see if deactivating the Nav Menu Roles has any effect. Any other ideas at this point?

    Mike

  • Tyler Postle
    • CGO

    Hey Mike,

    Thanks for the quick reply!

    I haven't been able to replicate this on my site yet, do you mind installing the WPMU DEV Dashboard and then granting support access?

    https://premium.wpmudev.org/project/wpmu-dev-dashboard/

    Once activated You can grant support access via admin dashboard - WPMU DEV > Support > Support Access > Grant Access.

    https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Then we can take a closer look at your settings to replicate this :slight_smile:

    Look forward to hearing back!

    All the best,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.