Problem/Motivation

After install^
Uncaught PHP Exception TypeError: "video_filter_help(): Argument #2 ($route_match) must be of type RouteMatchInterface, Drupal\Core\Routing\CurrentRouteMatch given, called in /home/***/www/web/core/modules/help/src/Plugin/Block/HelpBlock.php on line 96" at /home/***/www/web/modules/contrib/video_filter/video_filter.module line 36

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

proweb.ua created an issue. See original summary.

priti197 made their first commit to this issue’s fork.

priti197’s picture

Status: Active » Needs review

Created MR !12 to fix the issue.

chandansha’s picture

i am trying to find the above error on Module Help page but i did not find the error.
would you like to share reproduce steps.
i have try on drupal 10 and drupal 11 both of the version i have tested.

proweb.ua’s picture

PHP 8.3.16
Drupal 10.4.2

I just click on the module installation, after which I see a white screen.
This error is visible in the logs

chandansha’s picture

StatusFileSize
new2.48 MB

i did same setup in new drupal 10.4.2 in ddev.
i still not seen any error in 8.x-1.x-dev branch.
for reference i share video.
Thanks!!

opi’s picture

Status: Needs review » Reviewed & tested by the community
glekli’s picture

I am experiencing the same issue. When can we expect this fix to be merged?

@chandansha The issue is with the hook_help function. It gets picked up on clear cache, and it produces the error after that.