An error has occurred. 0 You must specify a non-empty path to clean

5 months 2 days ago #335846 by sstrott
I'm trying to create a menu for the admin page to allow a user with permision to access the backend to add users. I don't want them to have access to any other menus. I have the menu created, but when I try to add any Community Builder menu item to it, I get "An error has occurred. 0 You must specify a non-empty path to clean". I have this set up on another site, back in Joomla 3, and I get the error over there now too. This only happens when trying to add a CB item to the menu, all other menu item types work fine. Both sites are on Joomla 5 withe the latest version of CB. I'm running PHP 8.1

Please Log in to join the conversation.

5 months 2 days ago #335857 by krileon
Kunena will error as well and suspect many other extensions will too. It's due to a change in the backend menu XML structure. We're only specifying the view while Joomla is expecting a link attribute. Not sure why or when this behavior was changed, but added a bug ticket to investigate further as we need to be sure making changes here won't break CB backend menu creation.

forge.joomlapolis.com/issues/9278

You can workaround this by using a menu type of System > URL then set the URL to the following.

index.php?option=com_comprofiler&view=showusers


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.170 seconds

Facebook Twitter LinkedIn