Problem/Motivation

The module works very well really if there was an improvement in performance but recently when entering
/admin/reports/fileslog shows me the following error:

Error TypeError: Argument 1 passed to Drupal\fileslog\Controller\FilesLogController::getLogLevelLabel() must be of the type int, null given, called in /var/www/example.com/modules/contrib/fileslog/src/Controller/FilesLogController.php on line 121 in Drupal\fileslog\Controller\FilesLogController->getLogLevelLabel() (line 227 of /var/www/example.com/modules/contrib/fileslog/src/Controller/FilesLogController.php) #0 /var/www/example.com/modules/contrib/fileslog/src/Controller/FilesLogController.php(121): Drupal\fileslog\Controller\FilesLogController->getLogLevelLabel()

Comments

Nelo_Drup created an issue. See original summary.

  • 53a7263 committed on 1.0.x
    #3315047 - Fix FilesLogController not allowing for null values
    
randalv’s picture

Hi @Nelo_Drup,

Thank you for reporting the issue, I'll add a new release (1.0.2) that should fix this issue.

randalv’s picture

Status: Active » Fixed

Forgot to change status..

  • c7466d9 committed on 1.0.x
    #3315047 - Fix FilesLogController not allowing for null values
    
randalv’s picture

I'm sorry, the error threw me off a bit. Seems like I'm not awake enough yet.
I fixed the error for the canonical page only, with the latest release (1.0.3) the error on the overview/collection page should also be fixed.

nelo_drup’s picture

#6 thanks I already updated the module and everything seems fine

Status: Fixed » Closed (fixed)

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