@iarovuo – Sorry for the delay.
In general that doesn’t sound possible without some external factor. External here could be another plugin etc.
We call WordPress built in functions for that info. Only reasonable explanation is that your using some type of DB or object caching solution that is failing and returning invalid info for a given ID.
But again wouldn’t be a failure in our plugin code we could help with as WP returned that info for us to use.
https://github.com/JunglePlugins/User-Menus/blob/master/includes/classes/menu/items.php#L162
Hope that helps.
-
This reply was modified 3 years, 8 months ago by
Daniel Iser. Reason: added link