Cannot call abstract method Drupal\Core\Form\FormInterface::buildForm()

Created on 4 June 2022, about 2 years ago
Updated 19 March 2023, over 1 year ago

Problem/Motivation

When invoking a module that accessing a common routine. Notes:
a. I can't find the version of this module
b. This error occurs in FileUrlGeneratorInterface::generateAbsoluteString and FileUrlGeneratorInterface::generateString
c. This is a clone of an error by the same name reported by kgaut on 29 Jan 2021 at 07:53 EST and marked as "fixed."

The website encountered an unexpected error. Please try again later
Error: Cannot call abstract method Drupal\Core\File\FileUrlGeneratorInterface::generateString() in Drupal\common\Routines::displayManagedFile() (line 306 of /var/www/html/drupal/modules/custom/common/src/Routines.php)

#0 /var/www/html/drupal/modules/custom/asset/src/Controller/AssetListController.php(76): Drupal\common\Routines::displayManagedFile()
#1 [internal function]: Drupal\asset\Controller\AssetListController->content()
#2 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#3 /var/www/html/drupal/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#4 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#5 /var/www/html/drupal/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#6 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#7 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#8 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#9 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#10 /var/www/html/drupal/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#11 /var/www/html/drupal/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#12 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#13 /var/www/html/drupal/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#14 /var/www/html/drupal/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#15 /var/www/html/drupal/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle()
#16 /var/www/html/drupal/index.php(19): Drupal\Core\DrupalKernel->handle()
#17 {main}

Drupal 9.3.15
PHP 8.1.5
drd ?
drd_agent ?

πŸ› Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States othdvlpr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024