Large Navigation Menu Erroring Out (missing x.js.map file?)

Hi there,

Got an issue with 3 very very large navigation menus that keeps erroring out the page and I am no longer able to edit. Spoke to our host, and they said the following: The issue I am seeing is that there are two files being called from a certain location but those files don’t exist : /wp-content/themes/x/framework/dist/js/site/x.js.map | /wp-content/plugins/cornerstone/assets/dist/js/site/cs.0ce70e6.js.map

Any help would be appreciated.

Hi @IPProduction,

Thanks for reaching out.

Those errors are just missing source-maps. They are requested by developer tools (especially in Safari) when possible, but won’t interfere with anything.

Basically it’s a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map which holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location.

So, basically you can ignore those errors. Please check out this link for more information (https://stackoverflow.com/questions/19550060/how-do-i-toggle-source-mapping-in-safari-7/19823890#19823890).

Regarding that you are no longer able to edit some of your page because the page doesn’t exist anymore, for example, I don’t see the support and about page on your WordPress dashboard pages that’s the reason why you can no longer edit them.

Hope that helps.

Thank you.

Hi there, I’m actually using Google Chrome. The issue I have is with several navigation menus that have a lot of entries. Pages are not the issue. I get a Error code: SBOX_FATAL_MEMORY_EXCEEDED from Chrome. Will try incognito mode. I’m currently rebuilding the site for a client but it works on their old site.

So i went through and disabled all plugins and the problem was fixed. Went through and reactivated one by one and the issue is with Cornerstone. When Cornerstone is enabled, I am unable to access the large menu.

Hi @IPProduction,

I’ve checked your Solution Finder Page and tried to edit something on the section and I was able to edit, so there’s nothing wrong with the Cornerstone plugin. I also created a video for you to check it with yourself.

Hope that helps and let us know how it goes.

Thank you.

Hi there, thank you very much for checking it out, but the page is not the problem. The problem is the actual menu that we will be using. Editing the menu in the WordPress dashboard. The page you were accessing is where the menu will be displayed, the issue I have is in adding new items to it in the WordPress dashboard. Will leave link below,

Hi @IPProduction,

What your last post explained is, you are not able to add a menu item(s) to the menu from wp-admin.
If that is the case, we tried and able to add the menu item and it shows in the specified page menu in Frontend.

Please let us know if the issue is something else. Please provide any screenshot marked with a specific issue or any video which helps us to detect the issue.

Thanks

Hi, right now it is certain menus that are large, I mentioned the specific menu in my secure note one day ago: Please see the menu titled “Solution Finder | Choose by Camera”. Will put more details in secure note. I am receiving an error: Error code: SBOX_FATAL_MEMORY_EXCEEDED and my hosting provider says that it may be due to an X theme request and a cornerstone request, and since I am able to access/edit the menu when Cornerstone is disabled, it seems like it may be related.

Spoke again to my host, this is their response:

Thank you for testing John, do you happen to know if the plugin developer has any other recommendations that can be done here, particularly if there are any changes or adjustments that would be needed in order to get things working here? We’ve bumped the memory limits to the maximums here, some of their documentation seemed to indicate permalinks need to be set on posts in order for things to work as well but that doesn’t seem to have been changing the behavior

I’ve enabled log debugging here to try to see if we can gain any more insight but it doesn’t seem to be generating any additional information that could be helpful in explaining why things are hanging
There doesn’t appear to be any errors in the logs or anything like that on the server itself just by checking there.

Hello @IPProduction,

Your menu has several menu items. Most of the time, if you have more than 20 menu items, WordPress will become slower in loading the items in Appearance > Menus . To get this resolve, you need to increase your PHP input max value and the PHP maximum execution limit. You may need to check out this links:

We would love to know if this has worked for you. Thank you.

Hey there, my host increased the maximum execution time and I tested the Suhosin post max and that is not the issue. The only way that I can get this certain menu to be editablt in Appearance > Menus is to disable Cornerstone under plugins. I would ask that you login to the site and try to edit the menu I will link in a secure note. When that doesn’t work, log in to the WordPress dashboard, disable Cornerstone and try the same link. Is there any option to see what is erroring out?

Hello @IPProduction,

When using Cornerstone, the plugin adds a menu item function that allows you to assign an active and hover icons for each menu item. This would mean that if you have 50 menu items, it will probably take long enough because Cornerstone will process each menu item and add the functionality. This is also the reason why if your deactivate Cornerstone, you can easily edit your very long menu. With your current menu setup, you only choice is to temporarily deactivate the plugin when you edit your menu.

Hope this explains it briefly.

Got it, thank you . Appreciate your help.

@IPProduction,

We are glad that we’re able to help you.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.