Version 0.2.3

  • This update is customized specifically for a client. It add money transfer button to the tags list page in mobile view. You can enable this feature in the admin setting page, but it may cause unexpected errors to your forum.

Updating

composer update ziiven/money-transfer
php flarum migrate

I can get this extension to install but I can’t get it to enable. Not sure what’s going on. I have the money extension installed and enabled.

    ernestdefoe Could you post the error log in the flarum/storage/logs folder? That may help me to find out the error 🙂

      Ziven
      I'm too have this problem after update, extension not enable in ACP.

      I try remove/reinstall extension, but it's not help...

      My logs:

      [2023-01-01 00:14:45] flarum.ERROR: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appdata.ziven_transfer_money' doesn't exist in /var/www/apps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
      Stack trace:
      #0 /var/www/apps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
      #1 /var/www/apps/vendor/illuminate/database/Connection.php(501): Doctrine\DBAL\Driver\PDOStatement->execute()
      #2 /var/www/apps/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
      #3 /var/www/apps/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
      #4 /var/www/apps/vendor/illuminate/database/Connection.php(502): Illuminate\Database\Connection->run()
      #5 /var/www/apps/vendor/illuminate/database/Schema/Blueprint.php(109): Illuminate\Database\Connection->statement()
      #6 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(364): Illuminate\Database\Schema\Blueprint->build()
      #7 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(211): Illuminate\Database\Schema\Builder->build()
      #8 /var/www/apps/vendor/flarum/core/src/Database/Migration.php(87): Illuminate\Database\Schema\Builder->table()
      #9 [internal function]: Flarum\Database\Migration::Flarum\Database\{closure}()
      #10 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(194): call_user_func()
      #11 /var/www/apps/vendor/flamarkt/backoffice/src/Database/AugmentedMigrator.php(26): Flarum\Database\Migrator->runClosureMigration()
      #12 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(113): Flamarkt\Backoffice\Database\AugmentedMigrator->runUp()
      #13 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(87): Flarum\Database\Migrator->runMigrationList()
      #14 /var/www/apps/vendor/flarum/core/src/Extension/Extension.php(499): Flarum\Database\Migrator->run()
      #15 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(329): Flarum\Extension\Extension->migrate()
      #16 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(200): Flarum\Extension\ExtensionManager->migrate()
      #17 /var/www/apps/vendor/flarum/core/src/Extension/Command/ToggleExtensionHandler.php(36): Flarum\Extension\ExtensionManager->enable()
      #18 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Extension\Command\ToggleExtensionHandler->handle()
      #19 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
      #20 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
      #21 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
      #22 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
      #23 /var/www/apps/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(43): Illuminate\Bus\Dispatcher->dispatch()
      #24 /var/www/apps/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\UpdateExtensionController->handle()
      #25 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
      #26 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
      #27 /var/www/apps/vendor/flamarkt/taxonomies/src/Middlewares/NestedArrayFilterToJSON.php(29): Laminas\Stratigility\Next->handle()
      #28 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flamarkt\Taxonomies\Middlewares\NestedArrayFilterToJSON->process()
      #29 /var/www/apps/vendor/nearata/flarum-ext-twofactor/src/Http/Middleware/AuthenticateWithTwoFactor.php(37): Laminas\Stratigility\Next->handle()
      #30 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Nearata\TwoFactor\Http\Middleware\AuthenticateWithTwoFactor->process()
      #31 /var/www/apps/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
      #32 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
      #33 /var/www/apps/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
      #34 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
      #35 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
      #36 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
      #37 /var/www/apps/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
      #38 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
      #39 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
      #40 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
      #41 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
      #42 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
      #43 /var/www/apps/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
      #44 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
      #45 /var/www/apps/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
      #46 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
      #47 /var/www/apps/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
      #48 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
      #49 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
      #50 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
      #51 /var/www/apps/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
      #52 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
      #53 /var/www/apps/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
      #54 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
      #55 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #56 /var/www/apps/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
      #57 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
      #58 /var/www/apps/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
      #59 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
      #60 /var/www/apps/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
      #61 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
      #62 /var/www/apps/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
      #63 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
      #64 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
      #65 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
      #66 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #67 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
      #68 /var/www/apps/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
      #69 /var/www/apps/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
      #70 /var/www/apps/public/index.php(26): Flarum\Http\Server->listen()
      #71 {main}
      
      Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appdata.ziven_transfer_money' doesn't exist in /var/www/apps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
      Stack trace:
      #0 /var/www/apps/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new()
      #1 /var/www/apps/vendor/illuminate/database/Connection.php(501): Doctrine\DBAL\Driver\PDOStatement->execute()
      #2 /var/www/apps/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
      #3 /var/www/apps/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
      #4 /var/www/apps/vendor/illuminate/database/Connection.php(502): Illuminate\Database\Connection->run()
      #5 /var/www/apps/vendor/illuminate/database/Schema/Blueprint.php(109): Illuminate\Database\Connection->statement()
      #6 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(364): Illuminate\Database\Schema\Blueprint->build()
      #7 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(211): Illuminate\Database\Schema\Builder->build()
      #8 /var/www/apps/vendor/flarum/core/src/Database/Migration.php(87): Illuminate\Database\Schema\Builder->table()
      #9 [internal function]: Flarum\Database\Migration::Flarum\Database\{closure}()
      #10 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(194): call_user_func()
      #11 /var/www/apps/vendor/flamarkt/backoffice/src/Database/AugmentedMigrator.php(26): Flarum\Database\Migrator->runClosureMigration()
      #12 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(113): Flamarkt\Backoffice\Database\AugmentedMigrator->runUp()
      #13 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(87): Flarum\Database\Migrator->runMigrationList()
      #14 /var/www/apps/vendor/flarum/core/src/Extension/Extension.php(499): Flarum\Database\Migrator->run()
      #15 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(329): Flarum\Extension\Extension->migrate()
      #16 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(200): Flarum\Extension\ExtensionManager->migrate()
      #17 /var/www/apps/vendor/flarum/core/src/Extension/Command/ToggleExtensionHandler.php(36): Flarum\Extension\ExtensionManager->enable()
      #18 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Extension\Command\ToggleExtensionHandler->handle()
      #19 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
      #20 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
      #21 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
      #22 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
      #23 /var/www/apps/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(43): Illuminate\Bus\Dispatcher->dispatch()
      #24 /var/www/apps/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\UpdateExtensionController->handle()
      #25 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
      #26 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
      #27 /var/www/apps/vendor/flamarkt/taxonomies/src/Middlewares/NestedArrayFilterToJSON.php(29): Laminas\Stratigility\Next->handle()
      #28 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flamarkt\Taxonomies\Middlewares\NestedArrayFilterToJSON->process()
      #29 /var/www/apps/vendor/nearata/flarum-ext-twofactor/src/Http/Middleware/AuthenticateWithTwoFactor.php(37): Laminas\Stratigility\Next->handle()
      #30 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Nearata\TwoFactor\Http\Middleware\AuthenticateWithTwoFactor->process()
      #31 /var/www/apps/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
      #32 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
      #33 /var/www/apps/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
      #34 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
      #35 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
      #36 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
      #37 /var/www/apps/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
      #38 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
      #39 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
      #40 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
      #41 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
      #42 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
      #43 /var/www/apps/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
      #44 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
      #45 /var/www/apps/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
      #46 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
      #47 /var/www/apps/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
      #48 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
      #49 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
      #50 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
      #51 /var/www/apps/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
      #52 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
      #53 /var/www/apps/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
      #54 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
      #55 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #56 /var/www/apps/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
      #57 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
      #58 /var/www/apps/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
      #59 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
      #60 /var/www/apps/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
      #61 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
      #62 /var/www/apps/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
      #63 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
      #64 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
      #65 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
      #66 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #67 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
      #68 /var/www/apps/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
      #69 /var/www/apps/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
      #70 /var/www/apps/public/index.php(26): Flarum\Http\Server->listen()
      #71 {main}
      
      Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'appdata.ziven_transfer_money' doesn't exist (SQL: alter table `ziven_transfer_money` add `notes` varchar(255) null) in /var/www/apps/vendor/illuminate/database/Connection.php:712
      Stack trace:
      #0 /var/www/apps/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
      #1 /var/www/apps/vendor/illuminate/database/Connection.php(502): Illuminate\Database\Connection->run()
      #2 /var/www/apps/vendor/illuminate/database/Schema/Blueprint.php(109): Illuminate\Database\Connection->statement()
      #3 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(364): Illuminate\Database\Schema\Blueprint->build()
      #4 /var/www/apps/vendor/illuminate/database/Schema/Builder.php(211): Illuminate\Database\Schema\Builder->build()
      #5 /var/www/apps/vendor/flarum/core/src/Database/Migration.php(87): Illuminate\Database\Schema\Builder->table()
      #6 [internal function]: Flarum\Database\Migration::Flarum\Database\{closure}()
      #7 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(194): call_user_func()
      #8 /var/www/apps/vendor/flamarkt/backoffice/src/Database/AugmentedMigrator.php(26): Flarum\Database\Migrator->runClosureMigration()
      #9 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(113): Flamarkt\Backoffice\Database\AugmentedMigrator->runUp()
      #10 /var/www/apps/vendor/flarum/core/src/Database/Migrator.php(87): Flarum\Database\Migrator->runMigrationList()
      #11 /var/www/apps/vendor/flarum/core/src/Extension/Extension.php(499): Flarum\Database\Migrator->run()
      #12 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(329): Flarum\Extension\Extension->migrate()
      #13 /var/www/apps/vendor/flarum/core/src/Extension/ExtensionManager.php(200): Flarum\Extension\ExtensionManager->migrate()
      #14 /var/www/apps/vendor/flarum/core/src/Extension/Command/ToggleExtensionHandler.php(36): Flarum\Extension\ExtensionManager->enable()
      #15 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Extension\Command\ToggleExtensionHandler->handle()
      #16 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
      #17 /var/www/apps/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
      #18 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
      #19 /var/www/apps/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
      #20 /var/www/apps/vendor/flarum/core/src/Api/Controller/UpdateExtensionController.php(43): Illuminate\Bus\Dispatcher->dispatch()
      #21 /var/www/apps/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\UpdateExtensionController->handle()
      #22 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
      #23 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
      #24 /var/www/apps/vendor/flamarkt/taxonomies/src/Middlewares/NestedArrayFilterToJSON.php(29): Laminas\Stratigility\Next->handle()
      #25 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flamarkt\Taxonomies\Middlewares\NestedArrayFilterToJSON->process()
      #26 /var/www/apps/vendor/nearata/flarum-ext-twofactor/src/Http/Middleware/AuthenticateWithTwoFactor.php(37): Laminas\Stratigility\Next->handle()
      #27 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Nearata\TwoFactor\Http\Middleware\AuthenticateWithTwoFactor->process()
      #28 /var/www/apps/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
      #29 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
      #30 /var/www/apps/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
      #31 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
      #32 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
      #33 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
      #34 /var/www/apps/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
      #35 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
      #36 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
      #37 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
      #38 /var/www/apps/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
      #39 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
      #40 /var/www/apps/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
      #41 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
      #42 /var/www/apps/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
      #43 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
      #44 /var/www/apps/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
      #45 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
      #46 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
      #47 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
      #48 /var/www/apps/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
      #49 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
      #50 /var/www/apps/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
      #51 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
      #52 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #53 /var/www/apps/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
      #54 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
      #55 /var/www/apps/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
      #56 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
      #57 /var/www/apps/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
      #58 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
      #59 /var/www/apps/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
      #60 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
      #61 /var/www/apps/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
      #62 /var/www/apps/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
      #63 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
      #64 /var/www/apps/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
      #65 /var/www/apps/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
      #66 /var/www/apps/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
      #67 /var/www/apps/public/index.php(26): Flarum\Http\Server->listen()
      #68 {main}  

      Happy New Year!!! 🙂

        OwlGreen Happy new year 😃 Could you try the following steps:

        • purge the extension
          1672545984082

        • run composer remove ziiven/money-transfer

        • run composer require ziiven/money-transfer

        and then see if you can enable this extension in ACP?

          大佬有没有可能开发一个货币购买商品的插件?

          Is it possible to develop a plugin for purchasing goods with currency? 🤣

            无法启用扩展 / 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 | |
            +---------------------------------+------------+--------+

              come2mejk
              could you try php flarum migrate
              试试看运行上面的命令后行不行?

                Ziven can you add some function like: pay xxx credits to set the discussion on top for 24 hours, it would be pretty cool

                Ziven !!!!!!!!🥵🥵🥵🥵🥵🥵🥵🥵我很期待!

                I am looking forward! ! !

                Ziven
                No, it's not help me 🙁
                But this is not problem with extension, it's a bag with Flarum Core.
                Everytime when I try install same fork from github, I have this problem. Can't enable extension in ACP. I Try manually clear migration table in database, clear cache, remove less, restart server - not help. It's stiped flarum core.

                  The problem is that migration 2020_12_30_01_01_add_ziven_transfer_money_notes_column runs before 2022_12_16_01_01_add_ziven_transfer_money_table (alphabetical order) and tries to add a column to a table that doesn't exist yet.

                  I think there might have been a typo in the date of the most recently added migration. If it was 2022 instead of 2020 it would probably work as intended.

                  Users that were previously running version 0.1 wouldn't see any error since all but the newest migrations already ran. Only new users are affected by the migrations being out of order.

                    Ziven Now I can enable the extension. Not sure what the problem was exactly but it's working now.

                    Renaming the migration means it's considered a new separate migration. For any user already on 0.2.x the new renamed migration will run and probably try to add the column again. It should probably be rewritten to check if the column already exists before adding it 😉

                    Ziven Yes, now it's work 💗

                    Maybe you can create release you're fork with extension https://github.com/Ziiven/flarum-user-badges?
                    My composer show error if fork don't have a release package 🙁

                    clarkwinkelmann
                    Hm... why my fork not work? Before create release I rename in all files old nametargario, v17development to my github username xxx and manually clear migration in database from old original install extension (https://github.com/v17development/flarum-user-badges).

                    I can install my fork and enable in ACP, but the page with setting of this extension is empty 🙁