Thank you so much for your help, I currently have a broken Flarum site.
I'm on shared hosting and was running beta 12 on PHP 7.1. I have updated my site to PHP 7.4 and then updated Flarum to 1.2, which appears successful according to php flarum info.
However, my site was showing a 500 error, with the error logs of my site showing:
forum.subsineacademy.com [Sat Jan 29 21:35:06 2022] [error] [client 127.0.0.1:38892] PHP Fatal error: Declaration of Illuminate\Container\Container::get($id) must be compatible with Psr\Container\ContainerInterface::get(string $id) in /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/illuminate/container/Container.php on line 17
I did a bit of reading and found this advice about adding "psr/container": "1.0.0" in the require section of composer.json.
I did this, reinstalled Flarum, and now get the message "Flarum encountered a boot error. Details have been logged to the Flarum log file."
The flarum log reads like this:
flarum.ERROR: ParseError: syntax error, unexpected ')' in /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Frontend/FrontendServiceProvider.php:87
Stack trace:
#0 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/sites/4b/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Flarum\Frontend...')
#2 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Foundation/Application.php(228): spl_autoload_call('Flarum\Frontend...')
#3 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Foundation/Application.php(181): Flarum\Foundation\Application->resolveProviderClass('Flarum\Frontend...')
#4 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Foundation/InstalledSite.php(125): Flarum\Foundation\Application->register('Flarum\Frontend...')
#5 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#6 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Http/Server.php(58): Flarum\Foundation\InstalledSite->bootApp()
#7 /home/sites/4b/9/9d43d8391c/public_html/forum/public/vendor/flarum/core/src/Http/Server.php(35): Flarum\Http\Server->safelyBootAndGetHandler()
#8 /home/sites/4b/9/9d43d8391c/public_html/forum/public/public/index.php(26): Flarum\Http\Server->listen()
#9 {main}
Any help is deeply appreciated at this stage. As you can tell I'm way out my depth.
Thanks a lot.