Error !

TypeError: expected str, bytes or os.PathLike object, not NoneType

<legend>Global StoryArc Options</legend> <div class="row checkbox left clearfix"> <% storyarcdest = os.path.join(mylar.CONFIG.DESTINATION_DIR, 'StoryArcs') %> <input type="checkbox" style="vertical-align: middle; margin: 3px; margin-top: -1px;" onclick="getOption(this)" name="storyarcdir" id="storyarcdir" value="1" ${checked(mylar.CONFIG.STORYARCDIR)} /><label>Arcs in StoryArc Directory </br><small>(${storyarcdest})</small></label> </div> <div id="arc_options"> <div class="row">
/usr/lib/python3.10/posixpath.py, line 76:
a = os.fspath(a)
/app/data/interfaces/default/storyarc.html, line 57:
storyarcdest = os.path.join(mylar.CONFIG.DESTINATION_DIR, 'StoryArcs')
/app/data/interfaces/default/base.html, line 77:
${next.body()}
/usr/lib/python3.10/site-packages/mako/runtime.py, line 943:
callable_(context, *args, **kwargs)
/usr/lib/python3.10/site-packages/mako/runtime.py, line 916:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/usr/lib/python3.10/site-packages/mako/runtime.py, line 874:
_render_context(
/usr/lib/python3.10/site-packages/mako/template.py, line 439:
return runtime._render(self, self.callable_, args, data)
/app/mylar/webserve.py, line 130:
return template.render(http_root=mylar.CONFIG.HTTP_ROOT, interface=mylar.CONFIG.INTERFACE, icons=icons, gl_messages=mylar.GLOBAL_MESSAGES, sse_key=mylar.SSE_KEY, pre_update=mylar.UPDATE_VALUE, **kwargs)