これはまぐれです。致命的なエラーではなく、警告です。あなたが目にしている問題とは無関係です。
接続は問題なくテストできたにもかかわらず、GitHubから正常にプルできませんでした。
テーマファイルをWebアクセス可能なディレクトリに配置し、管理画面の「Page body html.erb」入力を使用しました。これは、他の問題にもかかわらずうまく機能しています。
Pavilion の Landing Pages プラグインを使用してカスタム HTML ページを作成しようとしています。目標は、このページを、空白のスタンドアロン ページではなく、フォーラムのネイティブな Discourse ヘッダーとフッターで表示することです。
また、ページをフォーラムのレイアウトで「ラップ」するために必要であると理解している、コンパニオンの「Home Pages」テーマコンポーネントもインストールしました。
Landing Pages プラグインでコンテンツを正常に作成しました (例: パス /mypage)。しかし、「Home Pages」コンポーネントの設定方法については完全に詰まっています。
Homepages コンポーネントの設定には「Launch Editor」があり、非常に複雑です。単純にランディングページを「プルイン」してネイティブレイアウトを追加するために何を入力すればよいかわかりません。
シンプルな HTML ページの設定方法について、ガイドを提供していただけますでしょうか?
ありがとうございます!
インスペクターを開くと、プラグインをまったく使用していないにもかかわらずエラーメッセージが表示されるのですが、これは関連性があるでしょうか。開発者が修正すべき点があるかどうかの理解に役立つかもしれません。
概要
deprecated.js:49 DEPRECATION NOTICE: Looking up 'route:admin-plugins-landing-pages' is no longer permitted. Rename to 'route:admin-plugins/landing-pages' instead [deprecation id: discourse.deprecated-resolver-normalization]
a @ deprecated.js:49
_normalize @ resolver.js:234
normalize @ index.js:205
normalizeFullName @ registry-BJpQx6hv.js:606
normalizeFullName @ registry-BJpQx6hv.js:608
normalize @ registry-BJpQx6hv.js:622
lookup @ registry-BJpQx6hv.js:131
lookup @ container_proxy.js:27
getRoute @ router.js:252
i @ index.ts:121
fetchRoute @ router-BViwI_oJ.js:260
get route @ router-BViwI_oJ.js:194
_getQPMeta @ router.js:913
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Show 54 more frames
Show less
deprecated.js:49 DEPRECATION NOTICE: Looking up 'controller:admin-plugins-landing-pages' is no longer permitted. Rename to 'controller:admin-plugins/landing-pages' instead [deprecation id: discourse.deprecated-resolver-normalization]
a @ deprecated.js:49
_normalize @ resolver.js:234
normalize @ index.js:205
normalizeFullName @ registry-BJpQx6hv.js:606
normalizeFullName @ registry-BJpQx6hv.js:608
normalize @ registry-BJpQx6hv.js:622
lookup @ registry-BJpQx6hv.js:131
lookup @ container_proxy.js:27
get _qp @ route.js:1147
(anonymous) @ cache-fCezwMOy.js:1092
Z @ index.js:430
get @ cache-fCezwMOy.js:1091
get @ cache-fCezwMOy.js:240
eM @ cache-fCezwMOy.js:1647
eA @ cache-fCezwMOy.js:1636
_getQPMeta @ router.js:914
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Show 58 more frames
Show less
deprecation-identify-source.js:15 DEPRECATION: [PLUGIN discourse-landing-pages] Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. [deprecation id: importing-inject-from-ember-service] This will be removed in ember-source 7.0.0. See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
(anonymous) @ deprecate.js:72
(anonymous) @ handlers.js:10
(anonymous) @ deprecate.js:108
(anonymous) @ handlers.js:10
(anonymous) @ deprecate.js:116
(anonymous) @ handlers.js:10
(anonymous) @ index.js:75
(anonymous) @ index.js:110
(anonymous) @ handlers.js:10
(anonymous) @ index.js:115
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-identify-source.js:15
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-this-property-fallback-handler.js:15
(anonymous) @ handlers.js:10
(anonymous) @ deprecation-warning-handler.js:19
(anonymous) @ handlers.js:10
s @ deprecated.js:132
(anonymous) @ handlers.js:10
r @ handlers.js:19
l @ deprecate.js:189
k @ index.js:31
p @ index.js:126
o @ index.js:31
(anonymous) @ admin-plugins-landing-pages.js:13
(anonymous) @ loader.js:106
requireModule @ loader.js:27
get @ index.js:15
_extractDefaultExport @ index.js:469
resolveOther @ index.js:183
resolve @ index.js:222
resolve @ registry-BJpQx6hv.js:795
resolve @ registry-BJpQx6hv.js:571
u @ registry-BJpQx6hv.js:245
(anonymous) @ registry-BJpQx6hv.js:284
lookup @ registry-BJpQx6hv.js:239
lookup @ container_proxy.js:27
get _qp @ route.js:1147
(anonymous) @ cache-fCezwMOy.js:1092
Z @ index.js:430
get @ cache-fCezwMOy.js:1091
get @ cache-fCezwMOy.js:240
eM @ cache-fCezwMOy.js:1647
eA @ cache-fCezwMOy.js:1636
_getQPMeta @ router.js:914
_getQPMeta @ index.ts:101
_hydrateUnsuppliedQueryParams @ router.js:1018
_prepareQueryParams @ router.js:897
normalizeQueryParams @ routing-service.js:57
_generateURL @ routing-service.js:63
generateURL @ routing-service.js:71
get href @ index-BCp6wOJU.js:929
eM @ cache-fCezwMOy.js:1647
(anonymous) @ index.js:87
(anonymous) @ index.js:64
X @ index.js:416
k @ index.js:62
en @ index.js:1112
flush @ index.js:1089
(anonymous) @ index.js:665
evaluate @ index.js:103
evaluateSyscall @ index.js:2873
evaluateInner @ index.js:2852
evaluateOuter @ index.js:2849
next @ index.js:4167
_execute @ index.js:4157
execute @ index.js:4133
handleException @ index.js:3450
handleException @ index.js:3592
throw @ index.js:3414
evaluate @ index.js:565
_execute @ index.js:3401
execute @ index.js:3393
rerender @ index.js:3610
(anonymous) @ index-BCp6wOJU.js:4639
(anonymous) @ index-BCp6wOJU.js:4934
eX @ index.js:2414
_renderRoots @ index-BCp6wOJU.js:4914
_renderRootsTransaction @ index-BCp6wOJU.js:4962
_revalidate @ index-BCp6wOJU.js:4995
invoke @ index.js:262
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
(anonymous) @ index.js:499
Promise.then
(anonymous) @ index.js:18
flush @ index.js:29
_scheduleAutorun @ index.js:928
_end @ index.js:768
(anonymous) @ index.js:499
Show 82 more frames
Show less
エラーが発生しました。更新が必要です。[管理者通知] プラグイン ‘discourse-landing-pages’ に更新が必要なコードが含まれています (id:discourse.resolver-resolutions)。
もしまだこのプラグインに関心があるようでしたら、現在の Discourse 安定版(2026.1)と互換性を持つように更新をプッシュしました。変更がレビューされ承認され次第利用可能になります(ただし、@angus や @merefield がまだこの件に対応できるかどうかわかりませんが)。
ありがとうございます… いくつかコメントを追加しましたし、
も追加しました ![]()
@cabidop さん、ありがとうございます。あなたの歓迎 PR に貢献し、結果はマージされました:
なお、main で latest をサポートできるように esr ブランチを作成しましたが、現在はいずれも同一です。
皆さん、こんにちは!このプラグインが大好きです!しかし、Discourse v2026.6.0-latest への更新後、プラグインが正しく動作していません。プラグインも最新バージョン 5b1893f4 です。ランディングページは以前は正常に読み込まれていましたが、現在は 500 エラーが表示されます。どなたかお手伝いいただけますか?
500 エラーとバックトレースを共有してもらえますか?
ページのスクリーンショット (https://club.haekelfans.de/danke-mitgliedschaft):
バックトレース:
plugins/discourse-landing-pages/app/views/layouts/landing.html.erb:28
actionview (8.0.5) lib/action_view/base.rb:278:in 'Kernel#public_send'
actionview (8.0.5) lib/action_view/base.rb:278:in 'ActionView::Base#_run'
actionview (8.0.5) lib/action_view/template.rb:284:in 'block in ActionView::Template#render'
activesupport (8.0.5) lib/active_support/notifications.rb:212:in 'ActiveSupport::Notifications.instrument'
actionview (8.0.5) lib/action_view/template.rb:589:in 'ActionView::Template#instrument_render_template'
actionview (8.0.5) lib/action_view/template.rb:272:in 'ActionView::Template#render'
rack-mini-profiler (4.0.1) lib/mini_profiler/profiling_methods.rb:90:in 'block in ActionView::Template#profile_method'
actionview (8.0.5) lib/action_view/renderer/template_renderer.rb:77:in 'block in ActionView::TemplateRenderer#render_with_layout'
activesupport (8.0.5) lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'
activesupport (8.0.5) lib/active_support/notifications/instrumenter.rb:58:in 'ActiveSupport::Notifications::Instrumenter#instrument'
activesupport (8.0.5) lib/active_support/notifications.rb:210:in 'ActiveSupport::Notifications.instrument'
actionview (8.0.5) lib/action_view/renderer/template_renderer.rb:75:in 'ActionView::TemplateRenderer#render_with_layout'
actionview (8.0.5) lib/action_view/renderer/template_renderer.rb:59:in 'ActionView::TemplateRenderer#render_template'
actionview (8.0.5) lib/action_view/renderer/template_renderer.rb:11:in 'ActionView::TemplateRenderer#render'
actionview (8.0.5) lib/action_view/renderer/renderer.rb:58:in 'ActionView::Renderer#render_template_to_object'
actionview (8.0.5) lib/action_view/renderer/renderer.rb:31:in 'ActionView::Renderer#render_to_object'
actionview (8.0.5) lib/action_view/rendering.rb:136:in 'block in ActionView::Rendering#_render_template'
actionview (8.0.5) lib/action_view/base.rb:305:in 'ActionView::Base#in_rendering_context'
actionview (8.0.5) lib/action_view/rendering.rb:135:in 'ActionView::Rendering#_render_template'
actionpack (8.0.5) lib/action_controller/metal/streaming.rb:179:in 'ActionController::Streaming#_render_template'
actionview (8.0.5) lib/action_view/rendering.rb:122:in 'ActionView::Rendering#render_to_body'
actionpack (8.0.5) lib/action_controller/metal/rendering.rb:186:in 'ActionController::Rendering#render_to_body'
actionpack (8.0.5) lib/action_controller/metal/renderers.rb:140:in 'ActionController::Renderers#render_to_body'
actionpack (8.0.5) lib/abstract_controller/rendering.rb:28:in 'AbstractController::Rendering#render'
actionpack (8.0.5) lib/action_controller/metal/rendering.rb:167:in 'ActionController::Rendering#render'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:31:in 'block (2 levels) in ActionController::Instrumentation#render'
activesupport (8.0.5) lib/active_support/benchmark.rb:17:in 'ActiveSupport::Benchmark.realtime'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:31:in 'block in ActionController::Instrumentation#render'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:100:in 'ActionController::Instrumentation#cleanup_view_runtime'
activerecord (8.0.5) lib/active_record/railties/controller_runtime.rb:46:in 'ActiveRecord::Railties::ControllerRuntime#cleanup_view_runtime'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:30:in 'ActionController::Instrumentation#render'
plugins/discourse-landing-pages/app/controllers/landing_pages/landing.rb:40:in 'LandingPages::LandingController#show'
actionpack (8.0.5) lib/action_controller/metal/basic_implicit_render.rb:8:in 'ActionController::BasicImplicitRender#send_action'
actionpack (8.0.5) lib/abstract_controller/base.rb:215:in 'AbstractController::Base#process_action'
actionpack (8.0.5) lib/action_controller/metal/rendering.rb:193:in 'ActionController::Rendering#process_action'
actionpack (8.0.5) lib/abstract_controller/callbacks.rb:261:in 'block in AbstractController::Callbacks#process_action'
activesupport (8.0.5) lib/active_support/callbacks.rb:109:in 'ActiveSupport::Callbacks#run_callbacks'
actionpack (8.0.5) lib/abstract_controller/callbacks.rb:260:in 'AbstractController::Callbacks#process_action'
actionpack (8.0.5) lib/action_controller/metal/rescue.rb:27:in 'ActionController::Rescue#process_action'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:76:in 'block in ActionController::Instrumentation#process_action'
activesupport (8.0.5) lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'
activesupport (8.0.5) lib/active_support/notifications/instrumenter.rb:58:in 'ActiveSupport::Notifications::Instrumenter#instrument'
activesupport (8.0.5) lib/active_support/notifications.rb:210:in 'ActiveSupport::Notifications.instrument'
actionpack (8.0.5) lib/action_controller/metal/instrumentation.rb:75:in 'ActionController::Instrumentation#process_action'
actionpack (8.0.5) lib/action_controller/metal/params_wrapper.rb:259:in 'ActionController::ParamsWrapper#process_action'
activerecord (8.0.5) lib/active_record/railties/controller_runtime.rb:39:in 'ActiveRecord::Railties::ControllerRuntime#process_action'
actionpack (8.0.5) lib/abstract_controller/base.rb:152:in 'AbstractController::Base#process'
actionview (8.0.5) lib/action_view/rendering.rb:40:in 'ActionView::Rendering#process'
rack-mini-profiler (4.0.1) lib/mini_profiler/profiling_methods.rb:90:in 'block in ActionController::Base#profile_method'
actionpack (8.0.5) lib/action_controller/metal.rb:252:in 'ActionController::Metal#dispatch'
actionpack (8.0.5) lib/action_controller/metal.rb:335:in 'ActionController::Metal.dispatch'
actionpack (8.0.5) lib/action_dispatch/routing/route_set.rb:67:in 'ActionDispatch::Routing::RouteSet::Dispatcher#dispatch'
actionpack (8.0.5) lib/action_dispatch/routing/route_set.rb:50:in 'ActionDispatch::Routing::RouteSet::Dispatcher#serve'
actionpack (8.0.5) lib/action_dispatch/routing/mapper.rb:32:in 'block in <class:Constraints>'
actionpack (8.0.5) lib/action_dispatch/routing/mapper.rb:62:in 'ActionDispatch::Routing::Mapper::Constraints#serve'
actionpack (8.0.5) lib/action_dispatch/journey/router.rb:53:in 'block in ActionDispatch::Journey::Router#serve'
actionpack (8.0.5) lib/action_dispatch/journey/router.rb:133:in 'block in ActionDispatch::Journey::Router#find_routes'
actionpack (8.0.5) lib/action_dispatch/journey/router.rb:126:in 'Array#each'
actionpack (8.0.5) lib/action_dispatch/journey/router.rb:126:in 'ActionDispatch::Journey::Router#find_routes'
actionpack (8.0.5) lib/action_dispatch/journey/router.rb:34:in 'ActionDispatch::Journey::Router#serve'
actionpack (8.0.5) lib/action_dispatch/routing/route_set.rb:908:in 'ActionDispatch::Routing::RouteSet#call'
lib/middleware/omniauth_bypass_middleware.rb:35:in 'Middleware::OmniauthBypassMiddleware#call'
lib/middleware/crawler_hooks.rb:13:in 'Middleware::CrawlerHooks#call'
rack (2.2.23) lib/rack/tempfile_reaper.rb:15:in 'Rack::TempfileReaper#call'
rack (2.2.23) lib/rack/conditional_get.rb:27:in 'Rack::ConditionalGet#call'
rack (2.2.23) lib/rack/head.rb:12:in 'Rack::Head#call'
actionpack (8.0.5) lib/action_dispatch/http/permissions_policy.rb:38:in 'ActionDispatch::PermissionsPolicy::Middleware#call'
lib/content_security_policy/middleware.rb:12:in 'ContentSecurityPolicy::Middleware#call'
lib/middleware/anonymous_cache.rb:407:in 'Middleware::AnonymousCache#call'
lib/middleware/csp_script_nonce_injector.rb:12:in 'Middleware::CspScriptNonceInjector#call'
lib/middleware/track_view_session_id_injector.rb:12:in 'Middleware::TrackViewSessionIdInjector#call'
config/initializers/008-rack-cors.rb:14:in 'Discourse::Cors#call'
rack (2.2.23) lib/rack/session/abstract/id.rb:266:in 'Rack::Session::Abstract::Persisted#context'
rack (2.2.23) lib/rack/session/abstract/id.rb:260:in 'Rack::Session::Abstract::Persisted#call'
actionpack (8.0.5) lib/action_dispatch/middleware/cookies.rb:706:in 'ActionDispatch::Cookies#call'
actionpack (8.0.5) lib/action_dispatch/middleware/callbacks.rb:31:in 'block in ActionDispatch::Callbacks#call'
activesupport (8.0.5) lib/active_support/callbacks.rb:100:in 'ActiveSupport::Callbacks#run_callbacks'
actionpack (8.0.5) lib/action_dispatch/middleware/callbacks.rb:30:in 'ActionDispatch::Callbacks#call'
actionpack (8.0.5) lib/action_dispatch/middleware/debug_exceptions.rb:31:in 'ActionDispatch::DebugExceptions#call'
actionpack (8.0.5) lib/action_dispatch/middleware/show_exc
ログのどこにエラー行がありますか?
`ActionView::Template::Error(#Class:0x00007d34363a9930 のインスタンスに ‘mobile_view?’ メソッドが定義されていません)lib/middleware/omniauth_bypass_middleware.rb:35:in ‘Middleware::OmniauthBypassMiddleware#ca’
なるほど。それは完全に納得できます。
