无法启用扩展 / Unable to enable extension
我尝试清除缓存 / I try to clear cache php flarum cache:clear
logs:
Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'demofla.ziven_transfer_money' doesn't exist (SQL: alter table ziven_transfer_money
add notes
varchar(255) null) in /website/vendor/illuminate/database/Connection.php:712
Stack trace:
#0 /website/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
#1 /website/vendor/illuminate/database/Connection.php(502): Illuminate\Database\Connection->run()
#2 /website/vendor/illuminate/database/Schema/Blueprint.php(109): Illuminate\Database\Connection->statement()
#3 /website/vendor/illuminate/database/Schema/Builder.php(364): Illuminate\Database\Schema\Blueprint->build()
#4 /website/vendor/illuminate/database/Schema/Builder.php(211): Illuminate\Database\Schema\Builder->build()
#5 /website/vendor/flarum/core/src/Database/Migration.php(87): Illuminate\Database\Schema\Builder->table()
#6 [internal function]: Flarum\Database\Migration::Flarum\Database{closure}()
#7 /website/vendor/flarum/core/src/Database/Migrator.php(194): call_user_func()
#8 /website/vendor/flarum/core/src/Database/Migrator.php(213): Flarum\Database\Migrator->runClosureMigration()
#9 /website/vendor/flarum/core/src/Database/Migrator.php(127): Flarum\Database\Migrator->resolveAndRunClosureMigration()
#10 /website/vendor/flarum/core/src/Database/Migrator.php(113): Flarum\Database\Migrator->runUp()
#11 /website/vendor/flarum/core/src/Database/Migrator.php(87): Flarum\Database\Migrator->runMigrationList()
#12 /website/vendor/flarum/core/src/Extension/Extension.php(499): Flarum\Database\Migrator->run()
#13 /website/vendor/flarum/core/src/Extension/ExtensionManager.php(329): Flarum\Extension\Extension->migrate()
#14 /website/vendor/flarum/core/src/Extension/ExtensionManager.php(200): Flarum\Extension\ExtensionManager->migrate()
#15 /website/vendor/flarum/core/src/Extension/Command/ToggleExtensionHandler.php(36): Flarum\Extension\ExtensionManager->enable()
#16 /website/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Extension\Command\ToggleExtensionHandler->handle()
#17 /website/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}()
#18 /website/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#19 /website/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#20 /website/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#21 /website/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(43): Illuminate\Bus\Dispatcher->dispatch()
#22 /website/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\UpdateExtensionController->handle()
#23 /website/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}()
#24 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
#25 /website/vendor/nearata/flarum-ext-twofactor/src/Http/Middleware/AuthenticateWithTwoFactor.php(37): Laminas\Stratigility\Next->handle()
#26 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Nearata\TwoFactor\Http\Middleware\AuthenticateWithTwoFactor->process()
#27 /website/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#28 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
#29 /website/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#30 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
#31 /website/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#32 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
#33 /website/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#34 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
#35 /website/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#36 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#37 /website/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#38 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
#39 /website/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#40 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
#41 /website/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#42 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
#43 /website/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#44 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
#45 /website/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#46 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
#47 /website/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#48 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
#49 /website/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#50 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
#51 /website/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#52 /website/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#53 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
#54 /website/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#55 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
#56 /website/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#57 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
#58 /website/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#59 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
#60 /website/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#61 /website/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
#62 /website/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#63 /website/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
#64 /website/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#65 /website/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#66 /website/index.php(26): Flarum\Http\Server->listen()
#67 {main}
flarum info
Flarum core 1.6.2
PHP version: 8.1.7
MySQL version: 8.0.30
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sysvsem, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, imagick, exif
+---------------------------------+------------+--------+
| Flarum Extensions | | |
+---------------------------------+------------+--------+
| ID | Version | Commit |
+---------------------------------+------------+--------+
| flarum-flags | v1.6.1 | |
| flarum-likes | v1.6.1 | |
| flarum-tags | v1.6.1 | |
| flarum-sticky | v1.6.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| flarum-suspend | v1.6.1 | |
| fof-pages | 1.0.4 | |
| fof-oauth | 1.3.0 | |
| flarum-approval | v1.6.1 | |
| antoinefr-money | v1.2.0 | |
| zequeen-acgembed-remastered | v1.1.2 | |
| v17development-seo | v1.8.0 | |
| tohsakarat-table-of-content | v1.0.1 | |
| the-turk-stickiest | 3.0.1 | |
| the-turk-flamoji | 1.0.4 | |
| nearata-twofactor | v2.1.1 | |
| michaelbelgium-discussion-views | v7.1.3 | |
| justoverclock-welcomebox | 1.3.8 | |
| justoverclock-thread-read-time | 0.1.7 | |
| justoverclock-og-meta-tag | 0.1.0 | |
| ianm-syndication | 1.2.2 | |
| ianm-level-ranks | 1.1.0 | |
| glowingblue-password-strength | 3.1.0 | |
| fof-user-directory | 1.2.3 | |
| fof-user-bio | 1.1.0 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.0 | |
| fof-socialprofile | 1.1.4 | |
| fof-sitemap | 2.0.1 | |
| fof-share-social | 1.1.0 | |
| fof-recaptcha | 1.1.0 | |
| fof-profile-image-crop | 1.1.0 | |
| fof-pretty-mail | 1.1.1 | |
| fof-polls | 1.3.0 | |
| fof-nightmode | 1.5.1 | |
| fof-links | 1.1.2 | |
| fof-linguist | 1.0.4 | |
| fof-html-errors | 1.1.0 | |
| fof-frontpage | 1.1.0 | |
| fof-formatting | 1.0.2 | |
| fof-filter | 1.1.2 | |
| fof-drafts | 1.2.2 | |
| fof-doorman | 1.1.1 | |
| fof-cookie-consent | 1.1.1 | |
| fof-best-answer | 1.2.4 | |
| flarum-subscriptions | v1.6.0 | |
| flarum-statistics | v1.6.1 | |
| flarum-nicknames | v1.6.0 | |
| flarum-mentions | v1.6.1 | |
| flarum-markdown | v1.6.1 | |
| flarum-lock | v1.6.0 | |
| flarum-lang-english | v1.6.0 | |
| flarum-lang-chinese-simplified | dev-master | |
| flarum-emoji | v1.6.1 | |
| flarum-bbcode | v1.6.0 | |
| ffans-clipboardjs | v1.0.0 | |
| datlechin-link-preview | v1.0.1 | |
| darkle-fancybox | 1.1.2 | |
| club-1-cross-references | v0.4.0 | |
| clarkwinkelmann-scout | 0.3.2 | |
| clarkwinkelmann-money-to-all | 1.0.0 | |
| clarkwinkelmann-money-rewards | 1.0.0 | |
| clarkwinkelmann-circle-groups | 1.0.1 | |
| askvortsov-discussion-templates | v0.8.3 | |
| afrux-news-widget | v0.1.1 | |
| afrux-asirem | v0.1.7 | |
| acpl-mobile-tab | 1.1.1 | |
+---------------------------------+------------+--------+