Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

体验了一下。创建表格报错

Open
#1 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
mysql, php
Domain
database

Research direction

Start at plugin/admin/app/controller/database/TableController.php line 87 and reproduce the table-creation request using the reported Windows PHP 7.4.15 environment. Inspect the connection involved in the MySqlConnection::schema() error and verify the table can be created successfully without that exception.

Written by the indexing model from the issue text.

Description

windows
PS D:\code\toys\webman-admin> php -v
PHP 7.4.15 (cli) (built: Feb  2 2021 20:47:36) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
{
    "code": 500,
    "message": "Call to undefined method Illuminate\\Database\\MySqlConnection::schema()",
    "type": "failed",
    "traces": "Error: Call to undefined method Illuminate\\Database\\MySqlConnection::schema() in D:\\code\\toys\\webman-admin\\plugin\\admin\\app\\controller\\database\\TableController.php:87\nStack trace:\n#0 D:\\code\\toys\\webman-admin\\vendor\\workerman\\webman-framework\\src\\App.php(276): plugin\\admin\\app\\controller\\database\\TableController->create(Object(support\\Request))\n#1 D:\\code\\toys\\webman-admin\\plugin\\admin\\app\\middleware\\AccessControl.php(21): Webman\\App::Webman\\{closure}(Object(support\\Request))\n#2 D:\\code\\toys\\webman-admin\\vendor\\workerman\\webman-framework\\src\\App.php(271): plugin\\admin\\app\\middleware\\AccessControl->process(Object(support\\Request), Object(Closure))\n#3 D:\\code\\toys\\webman-admin\\vendor\\workerman\\webman-framework\\src\\App.php(118): Webman\\App::Webman\\{closure}(Object(support\\Request))\n#4 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Connection\\TcpConnection.php(638): Webman\\App->onMessage(Object(Workerman\\Connection\\TcpConnection), Object(support\\Request))\n#5 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Events\\Select.php(295): Workerman\\Connection\\TcpConnection->baseRead(Resource id #296)\n#6 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Worker.php(2465): Workerman\\Events\\Select->loop()\n#7 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Worker.php(1449): Workerman\\Worker->run()\n#8 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Worker.php(1392): Workerman\\Worker::forkWorkersForWindows()\n#9 D:\\code\\toys\\webman-admin\\vendor\\workerman\\workerman\\Worker.php(557): Workerman\\Worker::forkWorkers()\n#10 D:\\code\\toys\\webman-admin\\vendor\\workerman\\webman-framework\\src\\support\\App.php(124): Workerman\\Worker::runAll()\n#11 D:\\code\\toys\\webman-admin\\start.php(4): support\\App::run()\n#12 {main}"
}
composer 文件
{
  "name": "workerman/webman",
  "type": "project",
  "keywords": [
    "high performance",
    "http service"
  ],
  "homepage": "http://www.workerman.net",
  "license": "MIT",
  "description": "High performance HTTP Service Framework.",
  "authors": [
    {
      "name": "walkor",
      "email": "walkor@workerman.net",
      "homepage": "http://www.workerman.net",
      "role": "Developer"
    }
  ],
  "support": {
    "email": "walkor@workerman.net",
    "issues": "https://github.com/walkor/webman/issues",
    "forum": "http://wenda.workerman.net/",
    "wiki": "http://workerman.net/doc/webman",
    "source": "https://github.com/walkor/webman"
  },
  "require": {
    "php": ">=7.2",
    "workerman/webman-framework": "^1.4.3",
    "monolog/monolog": "^2.0",
    "webman/admin": "^0.2.4"
  },
  "suggest": {
    "ext-event": "For better performance. "
  },
  "autoload": {
    "psr-4": {
      "": "./",
      "App\\": "./app"
    },
    "files": [
      "./support/helpers.php"
    ]
  },
  "scripts": {
    "post-package-install": [
      "support\\Plugin::install"
    ],
    "post-package-update": [
      "support\\Plugin::install"
    ],
    "pre-package-uninstall": [
      "support\\Plugin::uninstall"
    ]
  }
}

Dominant language
JavaScript
Stars
378
Forks
48
Avg merge
20h 9m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from webman-php/admin

All issues in webman-php/admin

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.