Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fatal error: Call to undefined function Drupal\devel\Controller\drupal_theme_initialize()
Comment | File | Size | Author |
---|---|---|---|
#2 | devel-theme-registry-2399275-2.patch | 530 bytes | willzyx |
Comments
Comment #1
pcambraComment #2
willzyx CreditAttribution: willzyx commentedI think we can safely skip theme initialization. See #2228093: Modernize theme initialization
NOTE
many methods in DevelControllor returns strings; this cause 406 errors. Controllers can only return render array or \Symfony\Component\HttpFoundation\Response object.
Comment #3
willzyx CreditAttribution: willzyx commentedComment #5
pcambraThanks @willzyx