Hi All,
We had flarum working well on a server, but it was too small. So we setup a new server and all seems well.
However we get this error
Flarum encountered a boot error. Details have been logged to the Flarum log file.
Looking in the logs we get the error below.
Can someone please provide some sort of guideance as to what the issue is?
Thanks
M
[2023-02-17 13:19:14] flarum.ERROR: Error: Class 'Doctrine\DBAL\Driver\AbstractMySQLDriver' not found in /home/cff/webapps/app-cff/public/vendor/illuminate/database/PDO/MySqlDriver.php:8
Stack trace:
#0 /home/cff/webapps/app-cff/public/vendor/composer/ClassLoader.php(571): include()
#1 /home/cff/webapps/app-cff/public/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /home/cff/webapps/app-cff/public/vendor/illuminate/database/MySqlConnection.php(91): spl_autoload_call()
#4 /home/cff/webapps/app-cff/public/vendor/illuminate/database/Connection.php(1011): Illuminate\Database\MySqlConnection->getDoctrineDriver()
#5 /home/cff/webapps/app-cff/public/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#6 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#7 [internal function]: Flarum\Database\Migrator->__construct()
#8 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#9 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#10 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#11 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#12 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#13 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#14 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#15 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#16 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#17 /home/cff/webapps/app-cff/public/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#18 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#19 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#20 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#21 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#22 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#23 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#24 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#25 /home/cff/webapps/app-cff/public/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#26 /home/cff/webapps/app-cff/public/public/index.php(26): Flarum\Http\Server->listen()
#27 {main}