Drupal 11.2.0 - Upgrade Error

Created on 19 June 2025, 14 days ago

Drupal 11.2.0
Auto Ban - Version: 8.x-1.11

Upgraded Drupal and got this error, when I go to reports > recent log messages

======================
The website encountered an unexpected error. Try again later.

Error: Call to undefined method Drupal\autoban_dblog\Controller\AutobanDbLogController::buildFilterQuery() in Drupal\autoban_dblog\Controller\AutobanDbLogController->overview() (line 72 of modules/contrib/autoban/modules/autoban_dblog/src/Controller/AutobanDbLogController.php).

call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 622)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->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: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 49)
Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 715)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

=====================================

In the error log I am showing this

[19-Jun-2025 10:11:46 Europe/London] Uncaught PHP Exception Error: "Call to undefined method Drupal\autoban_dblog\Controller\AutobanDbLogController::buildFilterQuery()" at /home/DOMAINAME/public_html/modules/contrib/autoban/modules/autoban_dblog/src/Controller/AutobanDbLogController.php line 72

=====================================

Unistalled and reinstalled fresh but still same thing happens, so did not install Autoban Dblog and working.

Not sure if it will effect my site without it !!

πŸ› Bug report
Status

Active

Version

1.11

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024