> ## Documentation Index
> Fetch the complete documentation index at: https://lationscripts.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Modern UI - FAQs

> Solutions to frequently asked questions

<AccordionGroup>
  <Accordion title="SCRIPT ERROR: @ox_lib/resource/interface/client/<component>.lua:<line>: No such export <exportName> in resource lation_ui">
    If you are seeing the above error, it simply means you have an incorrect resource start order in your `server.cfg` file. You must verify that `lation_ui` is ensured before `ox_lib`! You're `server.cfg` should look similar to this:

    ```text theme={null}
    ensure lation_ui
    ensure ox_lib
    ensure oxmysql
    ensure <framework>
    ```
  </Accordion>

  <Accordion title="SCRIPT ERROR: Could not load resource file @lation_ui/init.lua">
    As of v2.0.0, the old `init.lua` compatibility bridge has been removed (as announced over the past several months). You have two options:

    * **Recommended:** Use our [ox\_lib fork](https://github.com/IamLation/ox_lib/releases/latest) - it automatically forwards all `lib.*` UI calls to Modern UI with zero code changes.
    * Update the script referencing `@lation_ui/init.lua` to call the exports directly, such as `exports.lation_ui:notify(...)`.
  </Accordion>

  <Accordion title="The /uitheme command says I don't have permission">
    The `/uitheme` command requires the `lation_ui.admin` ACE permission. Open your `server.cfg` (or `permissions.cfg` on Qbox) and add:

    ```text theme={null}
    add_ace group.admin lation_ui.admin allow
    ```

    Then perform a full server restart.
  </Accordion>

  <Accordion title="The /uisettings command says theme customization is disabled">
    Personal player themes are disabled by default. To allow players to personalize their own UI, add the following convar to your `server.cfg` and perform a full server restart:

    ```cfg theme={null}
    setr lation_ui:allowUserThemes 1
    ```
  </Accordion>

  <Accordion title="My question or issue isn't listed here">
    Sorry about that! Please reach out to us on [**Discord**](https://discord.gg/9EbY4nM5uu) or via email at [**support@lationscripts.com**](mailto:support@lationscripts.com) regarding your issue.
  </Accordion>
</AccordionGroup>
