Open jlachancekffein opened 1 month ago
It's impossible to save a submission. Here's the error: Undefined variable $request.
Undefined variable $request.
The error is located on line 66 of the file src/controllers/SubmissionsController.php.
src/controllers/SubmissionsController.php
In my opinion, it should be replaced
$siteId = (int)$request->getParam('siteId'); with $siteId = (int)$this->request->getParam('siteId');
$siteId = (int)$request->getParam('siteId');
$siteId = (int)$this->request->getParam('siteId');
5.1.2
3.0.0-beta.1
Yes
No response
Fixed for the next release. To get this early, run composer require verbb/workflow:"dev-craft-5 as 3.0.0-beta.1".
composer require verbb/workflow:"dev-craft-5 as 3.0.0-beta.1"
Describe the bug
It's impossible to save a submission. Here's the error:
Undefined variable $request.
The error is located on line 66 of the file
src/controllers/SubmissionsController.php
.In my opinion, it should be replaced
$siteId = (int)$request->getParam('siteId');
with$siteId = (int)$this->request->getParam('siteId');
Steps to reproduce
Craft CMS version
5.1.2
Plugin version
3.0.0-beta.1
Multi-site?
Yes
Additional context
No response