I get this critical error after install

The website encountered an unexpected error. Please try again later.
Recoverable fatal error: Argument 2 passed to disable_messages_help() must be an instance of RouteMatchInterface, instance of Drupal\Core\Routing\CurrentRouteMatch given in disable_messages_help() (line 14 of modules/contrib/disable_messages/disable_messages.module).

CommentFileSizeAuthor
#3 crashes_after_install-2745777-3.patch310 bytesanish.a

Comments

Strutsagget created an issue. See original summary.

Strutsagget’s picture

Fixed by adding

use Drupal\Core\Routing\RouteMatchInterface;

to disable_messages.module

anish.a’s picture

Status: Active » Needs review
StatusFileSize
new310 bytes

Patch flying in. Can you please test?

anish.a’s picture

Just noticed this
https://www.drupal.org/node/2721583

So, patch works and I am committing.

  • anish.a committed 5bf81ea on 8.x-1.x
    Issue #2745777 by anish.a: Crashes after install
    

  • anish.a committed 2848753 on 8.x-1.x
    Issue #2745777 #2721583 by anish.a: Crashes after install
    
anish_zyxware’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.