After I installed and enabled recaptcha plugin, there is no recaptcha checkbox on the registration page, no response on the page after clicking register, no error on the page after enabling debug mod, and some error in the browser console.
fireDebugWarning.ts:15
[Flarum Accessibility Warning] Button has no content and no accessible label. This means that screen-readers will not be able to interpret its meaning and just read "Button". Consider providing accessible text via the `aria-label` attribute. https://web.dev/button-name <button class="Button Button--icon Navigation-drawer hasIcon" type="button">…</button>
(匿名) @ fireDebugWarning.ts:15
fireDebugWarning.ts:15
[Flarum Accessibility Warning] Button has no content and no accessible label. This means that screen-readers will not be able to interpret its meaning and just read "Button". Consider providing accessible text via the `aria-label` attribute. https://web.dev/button-name <button class="Hero-close Button Button--icon Button--link hasIcon" type="button">…</button>
(匿名) @ fireDebugWarning.ts:15
mount-redraw.js:15
TypeError: Cannot read properties of null (reading 'split')
at e.<anonymous> (index.js:19)
at e.forEach.t.<computed> [as oncreate] (extend.js:35)
at Function.a (render.js:30)
at render.js:971
at Function.a [as sync] (mount-redraw.js:14)
at t.e.show (ModalManagerState.js:25)
at HTMLButtonElement.onclick (HeaderSecondary.js:79)
at $.handleEvent (render.js:888)
a @ mount-redraw.js:15
RecaptchaState.js:34
Uncaught ReferenceError: grecaptcha is not defined
at t.e.getResponse (RecaptchaState.js:34)
at e.<anonymous> (extendSignUp.js:28)
at e.forEach.t.<computed> [as submitData] (extend.js:35)
at e.n.onsubmit (SignUpModal.js:163)
at e.<anonymous> (extendSignUp.js:56)
at e.forEach.t.<computed> [as onsubmit] (extend.js:78)
at $.handleEvent (render.js:888)
e.getResponse @ RecaptchaState.js:34
(匿名) @ extendSignUp.js:28
forEach.t.<computed> @ extend.js:35
n.onsubmit @ SignUpModal.js:163
(匿名) @ extendSignUp.js:56
forEach.t.<computed> @ extend.js:78
$.handleEvent @ render.js:888
this is the composer.json
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://flarum.org/docs/"
},
"require": {
"afrux/forum-widgets-core": "^0.1.6",
"afrux/news-widget": "^0.1.1",
"askvortsov/flarum-auto-moderator": "*",
"askvortsov/flarum-categories": "^3.0",
"clarkwinkelmann/flarum-ext-author-change": "^1.0",
"clarkwinkelmann/flarum-ext-circle-groups": "^1.0",
"clarkwinkelmann/flarum-ext-first-post-approval": "^1.0",
"clarkwinkelmann/flarum-ext-group-list": "^1.0",
"clarkwinkelmann/flarum-ext-lock-likes": "^1.1",
"clarkwinkelmann/flarum-ext-mailing": "^1.0",
"clarkwinkelmann/flarum-ext-status": "^1.0",
"darkle/fancybox": "^1.0",
"flarum-lang/chinese-simplified": "v1.1.1.1220",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^1.0",
"flarum/emoji": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/nicknames": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"fof/ban-ips": "^1.0",
"fof/disposable-emails": "^1.0",
"fof/drafts": "^1.0",
"fof/filter": "*",
"fof/frontpage": "^1.0",
"fof/geoip": "^1.0",
"fof/ignore-users": "^1.0",
"fof/impersonate": "^1.0",
"fof/merge-discussions": "^1.0",
"fof/moderator-notes": "^1.0",
"fof/nightmode": "^1.1",
"fof/pages": "^1.0",
"fof/polls": "^1.0",
"fof/pretty-mail": "^1.0",
"fof/profile-image-crop": "*",
"fof/reactions": "^1.0",
"fof/recaptcha": "^1.0",
"fof/socialprofile": "^1.1",
"fof/terms": "^1.1",
"fof/user-bio": "^1.0",
"fof/user-directory": "*",
"fof/username-request": "*",
"itnt/flarum-uitab": "^0.4.2",
"justoverclock/username-blacklist": "*",
"kilowhat/flarum-ext-audit-free": "^1.4",
"the-turk/flarum-diff": "^1.1",
"v17development/flarum-user-badges": "^1.0",
"yannisme/cntheme": "^1.0"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}