Totte Something that has been recommended many times is that, when you are customizing/modifying/adding things to your Flarum, disable CloudFlare protection. Once you are done, reenable it. That way you'll avoid a lot of headaches.
Try the following steps:
- Disable CloudFlare.
- Disable the extension.
- Run php flarum cache:clear
- Re-enable the extension.
- Make sure you have cleared your browser's cache before checking if the issue is still there.
Note: Unlogging and relogging again from your Flarum will help to clear any cache remaining anywhere.
Hope this works!