Inject missing renderer service in Controller

Created on 30 December 2022, almost 2 years ago
Updated 20 January 2023, almost 2 years ago

Problem/Motivation

Service Renderer is missing from Controllers

The website encountered an unexpected error. Please try again later.
Error: Call to a member function render() on null in Drupal\view_custom_table\Controller\OwnTableList->content() (line 99 of modules/contrib/view_custom_table/src/Controller/OwnTableList.php).

Proposed resolution

Inject the renderer service in the controllers

Remaining tasks

Review the code.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France Vadim478

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.

No activities found.

Production build 0.71.5 2024