- Status changed to Needs work
over 1 year ago 12:50pm 13 June 2023 - 🇵🇭Philippines clarkssquared
Hi Sahana _N
I applied your patch #2 and confirmed that the patch implemented hook help, however when I visit the help page a TypeError warning shows.
The website encountered an unexpected error. Please try again later.
TypeError: remote_stream_wrapper_help(): Argument #2 ($route_match) must be of type RouteMatchInterface, Drupal\Core\Routing\CurrentRouteMatch given in remote_stream_wrapper_help() (line 7 of modules/contrib/remote_stream_wrapper/remote_stream_wrapper.module).
remote_stream_wrapper_help('help.page.remote_stream_wrapper', Object)
call_user_func_array(Object, Array) (Line: 417)
Drupal\Core\Extension\ModuleHandler->invoke('remote_stream_wrapper', 'help', Array) (Line: 140)
Drupal\help\Controller\HelpController->helpPage('remote_stream_wrapper')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Please look at the screenshot attached for your reference
Thank you.
- First commit to issue fork.
- last update
over 1 year ago 30 pass - @elber opened merge request.
- Status changed to Needs review
over 1 year ago 1:43pm 13 June 2023 - 🇧🇷Brazil elber Brazil
Hi I created a MR and fixed the previously error please revise.
- Status changed to RTBC
over 1 year ago 2:16pm 13 June 2023 - 🇵🇭Philippines clarkssquared
Hi elber
I applied your MR !9 to my local and confirmed that it fixed the error and implemented hook help successfully.
Please look at the screenshot attached for your reference
Thank you