Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By hzakaryan on
Hi All,
After Drupal 7 core and Views Module upgrades Main Menu on my front page is not showing up.
Please see upgrade details below:
Drupal Core: 7.4 - 7.31
Views 7.x-3.0-rcl - 7.x - 3.8
Any suggested steps for finding the issue?
Thanks in advance!
Comments
Did you make the upgrade in
Did you make the upgrade in one single jump? Usually its better to go in small steps - every second or third update.
Several steps
No Jaypan,
It was several steps for upgrading the Core.
Thanks!
Did you run update.php?
Did you run update.php?
Have you tried clearing cache?
I did not do the upgrade myself
Hi Nevets,
I did not do the upgrade myself, i am looking into fixing the issues, but most likely update.php was run.
Clearing cache did not change anything.
Thanks!
A disappearing main menu can
A disappearing main menu can indicate a change in the theme. Check you have not updated any theme. (If you are using a Drupal core theme then of course that theme has been updated unless the person performing the updates took steps to avoid updating the core themes folder.)
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
No theme changes
Hi John_B,
I am using a custom theme.
The theme is not updated by the upgrade, i compared the files with the version before the upgrade and they are the same.
If your main menu is a block,
If your main menu is a block, then double check the block page to make sure it's still assigned to the right region. Sometimes blocks can mysteriously un-assign themselves from a region.
-----------------------------------------------------
Bob @ Drupal Aid (https://www.drupalaid.com)
it is assigned correctly
Hi cruser,
I double checked, it is assigned correctly.
So the menu is in a block.
So the menu is in a block. Why not (1) resave it (sometimes this is needed - not sure why); (2) check whether it works in a different region of the theme, or temporarily enable another theme and assign to a region there and check whether it works; (3) double check that the menu items are still listed & set as 'enabled' under Structure > Menus > Main Menu.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Resolved
I found out that the menu name was changed from upgrade, it was "Primary Links" and changed to "Main Menu".
The menu was setup as a Nice Menu, i just changed the name to point to "Main Menu" from within Nice Menu settings.
Thanks everyone for your advises!