• Hi there,

    After installing the plugin, I set a nav menu item inside main menu (and mobile one) with custom visibility, related only to specific user roles. After that, I’m experiencing an error 500 every time I try to log in inside my website with one of that allowed user roles previously selected.

    I tried to disable and uninstall the plugin but none happened. I tried also to set “Everyone” inside visibility settings of the link, but the error is always there. I suppose I should clean the database from all your plugin entries and rows.

    If it could help you, server log error says: “[Wed Jul 01 06:03:19.808953 2020] [core:error] [pid 15501] [client 87.118.135.66:51442] End of script output before headers: index.php”

    Wordrpess version: 5.4.2

    How can I solve this problem?

    Tell me how to clean the database.

    Best regards.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    You can delete all the _nav_menu_role keys from the post meta table. But I’m pretty confident that isn’t causing any issues… especially if the plugin is deleted. I’d suspect something in your server config or possibly a plugin conflict. You may want to enable WP_DEBUG and WP_DEBUG_LOG and see if that gives you any more insight into the source of the issue.

    Thread Starter ecomstore

    (@ecomstore)

    Hi,

    I deleted all _nav_menu_role keys but this doesn’t solve the problem. After deleting the plugin and cleaning the db entries, I tried to create a new user with the same user roles that causes the error 500 and… New users are able to log in and no error occurs.
    It seems the problem is related to user roles previously chosen for nav menu visibility AND the old users.

    I’m waiting for your reply.

    Plugin Author HelgaTheViking

    (@helgatheviking)

    What i will recommend is a debug process:

    1. Temporarily switch back to the Twenty Twenty theme. If this resolves the issue, then please bring this to the attention of your theme author.
    2. If the issue persists, then disable all other plugins except for WooCommerce and the extension. If this fixes the issue, then slowly re-enable plugins until you find the one causing it.

    To avoid causing any problems to your live site, the best way to do this would be to try setting up a staging site, for example using a plugin such as WP Staging and then troubleshoot the issue on the staging site.

    If you can provides steps on how to reproduce the error in Nav Menu Roles I can look into when I’m able. But keep in mind this is a side-project for me and so my paying work takes priority and a potential fix may not be immediate.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error 500 after setting links role visibility’ is closed to new replies.