Error while trying to save sub group item and clicking on 'show on website'

Traceback (innermost last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/widgets/form/save.py”, line 18, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 183, in save
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 430, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 412, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 493, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 476, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 406, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/website_generator.py”, line 35, in validate
self.update_routes_of_descendants(current_route)
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/website_generator.py”, line 101, in update_routes_of_descendants
clear_cache(make_route(old_route))
File “/home/frappe/frappe-bench/apps/frappe/frappe/website/website_generator.py”, line 221, in make_route
return ((parent + “/”) if parent else “”) + doc.page_name
TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (innermost last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application

Ok figured it out…Seems I created sub groups with slashes. eg. fruits/vegetables it will let you import the slashes but if you try to modify and save it it wont save… if it helps anybody else with the same problems.

Best to post such exceptions in GitHub Issues - so devs can keep track to fix them.