luceos
I recall having to move Flarum from a folder to the root because that's how it was initially installed, there must have been a mistake from my side. I changed line 12 in index.php to vendor/autoload.php
and now works normally, even with the extension installed and enabled.
Thanks for the help, is there something more I need to look at?