- Issue created by @notFloran
- 🇮🇳India abhiyanshu
Disabling a module/Commenting out the code should generally be considered a temporary workaround.
It's better to address the error instead.Coming to the error, it seems there's a problem with the
setRequest()
method of theViewExecutable
class in the Views module. Specifically, it expects aSymfony\Component\HttpFoundation\Request
object as the argument, but it's receivingnull
instead.I think we need to set a request object before calling
setRequest()
use Symfony\Component\HttpFoundation\Request; $request = Request::createFromGlobals(); $viewExecutable->setRequest($request);
- 🇫🇷France notFloran Reims
Yep I know is not a solution, my comment about that was here to help to debug the issue.
I dig a little more and it seems like it's the call to the "module_handler" service that's causing the problem :
$container->get('module_handler')
- 🇵🇱Poland Luke_Nuke
Just a heads-up, that this module is not abandoned, and I'll be looking into all reported stuff soon, so thanks for the feedback, and thanks for your patience ^^