Hi,
I found a very rare bug:
We created a new field configuration which only contains an image field.
This config shows up on nav menu items when the menu position is equal “xyz”.
After that I created a new menu and linked it to the position “xyz”.
Now when I add a new menu item and want to fill the image field the following error comes up:
“wp.media is not defined”.
But there is a work around:
- Create a new menu (without set the position!)
- Add a menu item
- link the menu to the position “xyz”
- Now you can choose an image without errors
If there is at least one menu item it seems to work.