Extra, broken menu item after upgrade to 3.0.5 from 2.8.7

I (seemingly successfully) upgraded a 2.8.7 site with many contexts, hosted on MODX Cloud, to 3.0.5. Also upgraded from PHP 7.4 to 8.1.

I now have an extra menu item under the Content menu. It’s title is Searchimage/icons/context_view.gif and the description is “Search for resources.” See screenshot.

Clicking it throws an error (also seen in the screenshot).

I’m not sure why it’s there, guessing it’s to do with an extra? Possibly Context Router or More Gallery? Or a phantom from 2.8.7?

Any hints on fixing or removing it would be appreciated.

20241009

You can manage all the menu items by going to :gear: → “Menus” in the manager (manager/?a=system/action).
Navigate to the folder “Content” in the tree (on the right side) and use right-click → “Delete” to remove the unwanted menu item.

Right-click → “Edit” might give you more information about the origin of this menu item. (Especially the field “namespace”.)

2 Likes

Thanks Harry, I deleted it.

The controller path was “46” so that tells me nothing. Maybe someone else knows. It seemed to be a search function for contexts?

I took a screenshot for posterity.

It (probably) means, that this menu item still used modAction. modAction was long deprecated and removed with MODX 3. You could check the database table modx_actions (if it still exists) for a row with the corresponding ID.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.