• Resolved chyouma

    (@chyouma)


    Hi,

    The add page or links to menu in Appearance > Menus is not working for me on a site. When I select any page and click on add to menu button it’s having a loading small icon right beside it and after a second it disappears and does not add the pages or menu links to the menu.

    I manually updated to the latest version of WordPress 5.5.3 (auto update did not work).

    Running PHP 7.4 and tried other versions right back to 5.6 trying to correct the issue.

    Steps that I already tried:
    -Disabled all the plugins
    -Switched to default WP2020 theme
    -added define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); to wp-config

    P.S When I go to customize and customize the site in realtime I can add menus from there but the changes are not saved after I hit publish (refreshing my browser screen sees the menu go back to the way it was.

    If anyone can guide me to solve the issue would be very much appreciated.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • See if this helps you. Be sure to read the short description carefully to understand the problem that this plugin tries to solve, and why it’s only a temporary solution.

    https://ww.wp.xz.cn/plugins/enable-jquery-migrate-helper/

    Thread Starter chyouma

    (@chyouma)

    Hi George,

    Thank you for the suggestion, I tried it but it did not work.
    It is a difficult one as even disabling all plugins and going to WP 2020 theme the issue is still present, I cannot add new menu items.

    Thread Starter chyouma

    (@chyouma)

    Hi All,

    The cause of my problem with not being able to add new Nav Menu items via Appearance -> Menus was a corrupt WordPress database table (x2).

    The corrupt tables were the wp_posts and wp_posts_meta and were missing the unique identifier and also no AUTO INCREMENT set for the ID field.

    Now to fix this took some more work as with the Unique identifier not being set, the cPanel PHPMyAdmin is not able to edit the tables.

    I could not add the unique identifier as the tables had duplicate entries for the default WordPress field for unique identifiers for each table in question.

    So I needed to export the tables in question, remove the duplicate fields, rename the original tables so I could import the modified tables.

    Once I imported the modified tables (with the duplicate ID entries removed), I was then able to add  the Unique Identifier to the required field and add the AUTO INCREMENT attribute for the ID.

    Problem solved… easy hey….. not.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot Add to Menu’ is closed to new replies.